DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Locations/Db/Region.cs
2023-10-12 16:01:24 -04:00

19 lines
404 B
C#

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