You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cat_cafe/cat_cafe/Entities/Bar.cs

25 lines
320 B

using System;
namespace cat_cafe.Entities
{
public class Bar
{
public long Id { get; set; }
public string? Name { get; set; }
public List<Cat> cats { get; set; } = new List<Cat>();
public void addCat(Cat c)
{
cats.Add(c);
}
public void removeCat(Cat c)
{
cats.Remove(c);
}
}
}