using System.ComponentModel.DataAnnotations; namespace DamageAssesment.Api.Locations.Db { public class Region { [Key] [StringLength(2)] public string Id { get; set; } [StringLength(50)] public string Name { get; set; } [StringLength(5)] public string Abbreviation { get; set; } // public ICollection Locations { get; set; } } }