20 lines
420 B
C#
20 lines
420 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|