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]
|
2023-09-13 00:28:24 -05:00
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|