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

19 lines
404 B
C#
Raw Permalink Normal View History

2023-08-15 22:52:30 -05:00
using System.ComponentModel.DataAnnotations;
2023-10-12 15:01:24 -05:00
using System.ComponentModel.DataAnnotations.Schema;
2023-08-15 22:52:30 -05:00
namespace DamageAssesment.Api.Locations.Db
{
2023-10-12 15:01:24 -05:00
[Table("Regions")]
2023-08-15 22:52:30 -05:00
public class Region
{
[Key]
public int Id { get; set; }
2023-08-15 22:52:30 -05:00
[StringLength(50)]
public string Name { get; set; }
[StringLength(5)]
public string Abbreviation { get; set; }
}
}