13 lines
332 B
C#
13 lines
332 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace LANCommander.Client.Data.Models
|
|
{
|
|
[Table("Genres")]
|
|
public class Genre : BaseModel
|
|
{
|
|
public string Name { get; set; }
|
|
[JsonIgnore]
|
|
public virtual ICollection<Game> Games { get; set; }
|
|
}
|
|
}
|