DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Region.cs

20 lines
420 B
C#
Raw Normal View History

2023-08-15 22:52:30 -05:00
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<Location> Locations { get; set; }
}
}