LANCommander/LANCommander.Client.Data/Models/Category.cs

14 lines
401 B
C#
Raw Permalink Normal View History

using System.ComponentModel.DataAnnotations.Schema;
namespace LANCommander.Client.Data.Models
{
[Table("Categories")]
public class Category : BaseModel
{
public string Name { get; set; }
public virtual Category Parent { get; set; }
public virtual ICollection<Category> Children { get; set; }
public virtual ICollection<Game> Games { get; set; }
}
}