using System.ComponentModel.DataAnnotations.Schema; namespace BGC.Server.DataLayer.Entities { [Table("genres")] public class Genre { [Column("id")] public long Id { get; set; } [Column("name")] public required string Name { get; set; } public virtual ICollection GameGenres { get; set; } = new List(); public virtual ICollection Games { get; set; } = new List(); } }