42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using BMA.EHR.Report.Service.Models;
|
|
|
|
namespace BMA.EHR.Profile.Service.Models.HR
|
|
{
|
|
public class ProfileHistory : EntityBase
|
|
{
|
|
[MaxLength(13)]
|
|
public string? CitizenId { get; set; }
|
|
public Guid? PrefixId { get; set; }
|
|
public string? Prefix { get; set; }
|
|
[MaxLength(100)]
|
|
[Required]
|
|
public string? FirstName { get; set; }
|
|
[MaxLength(100)]
|
|
[Required]
|
|
public string? LastName { get; set; }
|
|
public Guid? GenderId { get; set; }
|
|
public string? Gender { get; set; }
|
|
[MaxLength(100)]
|
|
public string? Nationality { get; set; }
|
|
[MaxLength(100)]
|
|
public string? Race { get; set; }
|
|
public Guid? ReligionId { get; set; }
|
|
public string? Religion { get; set; }
|
|
[Required]
|
|
public DateTime BirthDate { get; set; }
|
|
public Guid? BloodGroupId { get; set; }
|
|
public string? BloodGroup { get; set; }
|
|
public Guid? RelationshipId { get; set; }
|
|
public string? Relationship { get; set; }
|
|
[MaxLength(50)]
|
|
public string? TelephoneNumber { get; set; }
|
|
[MaxLength(20)]
|
|
public string? EmployeeType { get; set; }
|
|
[MaxLength(20)]
|
|
public string? EmployeeClass { get; set; }
|
|
public virtual Profile? Profile { get; set; }
|
|
}
|
|
}
|