23 lines
499 B
C#
23 lines
499 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace DamageAssesment.Api.Locations.Models
|
|
{
|
|
public class Location
|
|
{
|
|
[StringLength(4)]
|
|
public string Id { get; set; }
|
|
|
|
[StringLength(1)]
|
|
public string RegionId { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string Name { get; set; }
|
|
|
|
[StringLength(1)]
|
|
public string MaintenanceCenter { get; set; }
|
|
|
|
[StringLength(2)]
|
|
public string SchoolType { get; set; }
|
|
}
|
|
}
|