using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; namespace ProjectGrid.Data { [Table("Map", Schema = "Map")] public class MapData { [Key] [Column("MapId")] public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } [Required] public uint Width { get; set; } [Required] public uint Height { get; set; } } }