hrms-api-report-v1/Models/HR/ProfileRegistrationAddressHistory.cs

33 lines
706 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Profile.Service.Models.HR
{
public class ProfileRegistrationAddressHistory
{
[Key]
public int Id { get; set; }
[MaxLength(200)]
[Required]
public string Address { get; set; }
[Required]
public Guid SubDistrictId { get; set; }
[Required]
public Guid DistrictId { get; set; }
[Required]
public Guid ProvinceId { get; set; }
[MaxLength(5)]
[Required]
public string ZipCode { get; set; }
public DateTime CreatedDate { get; set; } = DateTime.Now;
public Profile Profile { get; set; }
}
}