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

33 lines
1.3 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Report.Service.Models;
namespace BMA.EHR.Profile.Service.Models.HR
{
public class ProfileAddressHistory : EntityBase
{
public bool? RegistrationSame { get; set; }
[MaxLength(200)]
public string? RegistrationAddress { get; set; }
public Guid? RegistrationSubDistrictId { get; set; }
public string? RegistrationSubDistrict { get; set; }
public Guid? RegistrationDistrictId { get; set; }
public string? RegistrationDistrict { get; set; }
public Guid? RegistrationProvinceId { get; set; }
public string? RegistrationProvince { get; set; }
[MaxLength(5)]
public string? RegistrationZipCode { get; set; }
[MaxLength(200)]
public string? CurrentAddress { get; set; }
public Guid? CurrentSubDistrictId { get; set; }
public string? CurrentSubDistrict { get; set; }
public Guid? CurrentDistrictId { get; set; }
public string? CurrentDistrict { get; set; }
public Guid? CurrentProvinceId { get; set; }
public string? CurrentProvince { get; set; }
[MaxLength(5)]
public string? CurrentZipCode { get; set; }
public virtual Profile? Profile { get; set; }
}
}