19 lines
404 B
C#
Raw Normal View History

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