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