197 lines
10 KiB
C#
197 lines
10 KiB
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using BMA.EHR.Domain.Models.Base;
|
|
using BMA.EHR.Domain.Models.MetaData;
|
|
using BMA.EHR.Domain.Models.Organizations;
|
|
using BMA.EHR.Domain.Models.HR;
|
|
using BMA.EHR.Domain.Models.Documents;
|
|
|
|
namespace BMA.EHR.Domain.Models.Placement
|
|
{
|
|
public class PlacementReceive : EntityBase
|
|
{
|
|
[Comment("Fk Table Document")]
|
|
public Document? Avatar { get; set; }
|
|
[MaxLength(40), Comment("วันเกิด")]
|
|
public DateTime DateOfBirth { get; set; }
|
|
[Comment("Id เพศ")]
|
|
public string? Gender { get; set; }
|
|
[MaxLength(100), Comment("สัญชาติ")]
|
|
public string? Nationality { get; set; }
|
|
[MaxLength(100), Comment("เชื้อชาติ")]
|
|
public string? Race { get; set; }
|
|
[Comment("Id ศาสนา")]
|
|
public string? Religion { get; set; }
|
|
[Comment("Id กลุ่มเลือด")]
|
|
public string? BloodGroup { get; set; }
|
|
[Comment("Id สถานะภาพ")]
|
|
public string? Relationship { get; set; }
|
|
[MaxLength(50), Comment("เบอร์โทร")]
|
|
public string? TelephoneNumber { get; set; }
|
|
[Comment("สถานะคำขอ")]
|
|
public string Status { get; set; } = "WAITTING";
|
|
[Comment("เงินเดือน")]
|
|
public double? Amount { get; set; }
|
|
[Comment("วันที่บรรจุ")]
|
|
public DateTime? ReportingDate { get; set; }
|
|
[Comment("เหตุผลที่รับโอนราชการ")]
|
|
public string? Reason { get; set; }
|
|
|
|
|
|
|
|
[Comment("วุฒิ/สาขาเดิม")]
|
|
public string? EducationOld { get; set; }
|
|
[Comment("สังกัดเดิม")]
|
|
public string? OrganizationPositionOld { get; set; }
|
|
[Comment("สังกัดเดิม")]
|
|
public string? OrganizationOld { get; set; }
|
|
[Comment("ตำแหน่งเดิม")]
|
|
public string? PositionOld { get; set; }
|
|
[Comment("ตำแหน่งทางการบริหารเดิม")]
|
|
public string? PositionExecutiveOld { get; set; }
|
|
[Comment("ข้อมูลหน่วยงานเดิม ตำแหน่งประเภท")]
|
|
public string? PositionTypeOld { get; set; }
|
|
[Comment("ข้อมูลหน่วยงานเดิม ระดับ")]
|
|
public string? PositionLevelOld { get; set; }
|
|
[Comment("ข้อมูลหน่วยงานเดิม เลขที่")]
|
|
public string? PositionNumberOld { get; set; }
|
|
[Comment("ข้อมูลหน่วยงานเดิม เงินเดือน")]
|
|
public double? AmountOld { get; set; }
|
|
|
|
|
|
|
|
[Comment("profile Id")]
|
|
public string? profileId { get; set; }
|
|
[Comment("คำนำหน้า")]
|
|
public string? prefix { get; set; }
|
|
[Comment("ชื่อ")]
|
|
public string? firstName { get; set; }
|
|
[Comment("นามสกุล")]
|
|
public string? lastName { get; set; }
|
|
[Comment("เลขบัตรประชาชน")]
|
|
public string? citizenId { get; set; }
|
|
[Comment("ชื่อหน่วยงาน root")]
|
|
public string? root { get; set; }
|
|
[Comment("id หน่วยงาน root")]
|
|
public string? rootId { get; set; }
|
|
[Comment("id หน่วยงาน rootDna")]
|
|
public string? rootDnaId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน root")]
|
|
public string? rootShortName { get; set; }
|
|
[Comment("ชื่อหน่วยงาน child1")]
|
|
public string? child1 { get; set; }
|
|
[Comment("id หน่วยงาน child1")]
|
|
public string? child1Id { get; set; }
|
|
[Comment("id หน่วยงาน child1Dna")]
|
|
public string? child1DnaId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน child1")]
|
|
public string? child1ShortName { get; set; }
|
|
[Comment("ชื่อหน่วยงาน child2")]
|
|
public string? child2 { get; set; }
|
|
[Comment("id หน่วยงาน child2")]
|
|
public string? child2Id { get; set; }
|
|
[Comment("id หน่วยงาน child2Dna")]
|
|
public string? child2DnaId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน child2")]
|
|
public string? child2ShortName { get; set; }
|
|
[Comment("ชื่อหน่วยงาน child3")]
|
|
public string? child3 { get; set; }
|
|
[Comment("id หน่วยงาน child3")]
|
|
public string? child3Id { get; set; }
|
|
[Comment("id หน่วยงาน child3Dna")]
|
|
public string? child3DnaId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน child3")]
|
|
public string? child3ShortName { get; set; }
|
|
[Comment("ชื่อหน่วยงาน child4")]
|
|
public string? child4 { get; set; }
|
|
[Comment("id หน่วยงาน child4")]
|
|
public string? child4Id { get; set; }
|
|
[Comment("id หน่วยงาน child4Dna")]
|
|
public string? child4DnaId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน child4")]
|
|
public string? child4ShortName { get; set; }
|
|
[Comment("ระดับโครงสร้าง")]
|
|
public int? node { get; set; }
|
|
[Comment("id โครงสร้าง")]
|
|
public Guid? nodeId { get; set; }
|
|
[Comment("id อัตรากำลัง")]
|
|
public string? posmasterId { get; set; }
|
|
[Comment("id revision")]
|
|
public string? orgRevisionId { get; set; }
|
|
[Comment("id ตำแหน่ง")]
|
|
public string? positionId { get; set; }
|
|
[Comment("สายงาน")]
|
|
public string? positionField { get; set; }
|
|
[Comment("เลขที่ตำแหน่ง")]
|
|
public int? posMasterNo { get; set; }
|
|
[Comment("ชื่อตำแหน่งในสายงาน")]
|
|
public string? position { get; set; }
|
|
[Comment("ตำแหน่งทางการบริหาร")]
|
|
public string? PositionExecutive { get; set; }
|
|
[Comment("id ประเภทตำแหน่ง")]
|
|
public string? posTypeId { get; set; }
|
|
[Comment("ชื่อประเภทตำแหน่ง")]
|
|
public string? posTypeName { get; set; }
|
|
[Comment("id ระดับตำแหน่ง")]
|
|
public string? posLevelId { get; set; }
|
|
[Comment("ชื่อระดับตำแหน่ง")]
|
|
public string? posLevelName { get; set; }
|
|
|
|
|
|
|
|
[Comment("ชื่อหน่วยงาน root old")]
|
|
public string? rootOld { get; set; }
|
|
[Comment("id หน่วยงาน root old")]
|
|
public string? rootOldId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน root old")]
|
|
public string? rootShortNameOld { get; set; }
|
|
[Comment("ชื่อหน่วยงาน child1 old")]
|
|
public string? child1Old { get; set; }
|
|
[Comment("id หน่วยงาน child1 old")]
|
|
public string? child1OldId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน child1 old")]
|
|
public string? child1ShortNameOld { get; set; }
|
|
[Comment("ชื่อหน่วยงาน child2 old")]
|
|
public string? child2Old { get; set; }
|
|
[Comment("id หน่วยงาน child2 old")]
|
|
public string? child2OldId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน child2 old")]
|
|
public string? child2ShortNameOld { get; set; }
|
|
[Comment("ชื่อหน่วยงาน child3 old")]
|
|
public string? child3Old { get; set; }
|
|
[Comment("id หน่วยงาน child3 old")]
|
|
public string? child3OldId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน child3 old")]
|
|
public string? child3ShortNameOld { get; set; }
|
|
[Comment("ชื่อหน่วยงาน child4 old")]
|
|
public string? child4Old { get; set; }
|
|
[Comment("id หน่วยงาน child4 old")]
|
|
public string? child4OldId { get; set; }
|
|
[Comment("ชื่อย่อหน่วยงาน child4 old")]
|
|
public string? child4ShortNameOld { get; set; }
|
|
[Comment("เลขที่ตำแหน่ง old")]
|
|
public int? posMasterNoOld { get; set; }
|
|
// [Comment("ชื่อตำแหน่งในสายงาน old")]
|
|
// public string? positionOld { get; set; }
|
|
[Comment("id ประเภทตำแหน่ง old")]
|
|
public string? posTypeOldId { get; set; }
|
|
[Comment("ชื่อประเภทตำแหน่ง old")]
|
|
public string? posTypeNameOld { get; set; }
|
|
[Comment("id ระดับตำแหน่ง old")]
|
|
public string? posLevelOldId { get; set; }
|
|
[Comment("ชื่อระดับตำแหน่ง old")]
|
|
public string? posLevelNameOld { get; set; }
|
|
|
|
[Comment("สถานะการใช้งาน")]
|
|
public bool IsActive { get; set; } = true;
|
|
[Comment("ด้านทางการบริหาร")]
|
|
public string? positionExecutiveField { get; set; }
|
|
[Comment("ด้าน/สาขา")]
|
|
public string? positionArea { get; set; }
|
|
[Comment("ด้านทางการบริหาร (เก่า)")]
|
|
public string? positionExecutiveFieldOld { get; set; }
|
|
[Comment("ด้าน/สาขา (เก่า)")]
|
|
public string? positionAreaOld { get; set; }
|
|
public virtual List<PlacementReceiveDoc> PlacementReceiveDocs { get; set; } = new List<PlacementReceiveDoc>();
|
|
}
|
|
}
|