using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using BMA.EHR.MetaData.Service.Models; namespace BMA.EHR.Organization.Service.Models.Report2 { public class Report2History : EntityBase { [Comment("ชื่อ-สกุล")] public string? FullName { get; set; } [Comment("คุณวุฒิ")] public string? Education { get; set; } [Comment("เงินเดือน")] public double? Salary { get; set; } [Comment("เงินประจำตำแหน่ง")] public double? SalaryPosition { get; set; } [Comment("เงินตอบแทนรายเดือน")] public double? SalaryMonth { get; set; } [Comment("รหัสส่วนราชการ กำหนดเดิม")] public Guid? OldOrganizationShortNameId { get; set; } public string? OldOrganizationShortName { get; set; } public string? OldGovernmentCode { get; set; } [Comment("ชื่อหน่วยงาน กำหนดเดิม")] public Guid? OldOrganizationOrganizationId { get; set; } public string? OldOrganizationOrganization { get; set; } [Comment("ตำแหน่งเลขที่ กำหนดเดิม")] public Guid? OldPositionNumId { get; set; } public string? OldPositionNum { get; set; } [Comment("ประเภทตำแหน่ง กำหนดเดิม")] // public Guid? OldPositionTypeId { get; set; } public string? OldPositionType { get; set; } [Comment("ตำแหน่งทางการบริหาร กำหนดเดิม")] public Guid? OldPositionExecutiveId { get; set; } public string? OldPositionExecutive { get; set; } [Comment("ด้านทางบริหาร กำหนดเดิม")] public Guid? OldPositionExecutiveSideId { get; set; } public string? OldPositionExecutiveSide { get; set; } [Comment("ตำแหน่งในสายงาน กำหนดเดิม")] public Guid? OldPositionPathId { get; set; } public string? OldPositionPath { get; set; } [Comment("ด้าน/สาขา กำหนดเดิม")] public Guid? OldPositionPathSideId { get; set; } public string? OldPositionPathSide { get; set; } [Comment("ระดับตำแหน่ง กำหนดเดิม")] // public Guid? OldPositionLevelId { get; set; } public string? OldPositionLevel { get; set; } [Comment("รหัสส่วนราชการ กำหนดใหม่")] public Guid? NewOrganizationShortNameId { get; set; } public string? NewOrganizationShortName { get; set; } public string? NewGovernmentCode { get; set; } [Comment("ชื่อหน่วยงาน กำหนดใหม่")] public Guid? NewOrganizationOrganizationId { get; set; } public string? NewOrganizationOrganization { get; set; } [Comment("ตำแหน่งเลขที่ กำหนดใหม่")] public Guid? NewPositionNumId { get; set; } public string? NewPositionNum { get; set; } [Comment("ประเภทตำแหน่ง กำหนดใหม่")] public Guid? NewPositionTypeId { get; set; } public string? NewPositionType { get; set; } [Comment("ตำแหน่งทางการบริหาร กำหนดใหม่")] public Guid? NewPositionExecutiveId { get; set; } public string? NewPositionExecutive { get; set; } [Comment("ด้านทางบริหาร กำหนดใหม่")] public Guid? NewPositionExecutiveSideId { get; set; } public string? NewPositionExecutiveSide { get; set; } [Comment("ตำแหน่งในสายงาน กำหนดใหม่")] public Guid? NewPositionPathId { get; set; } public string? NewPositionPath { get; set; } [Comment("ด้าน/สาขา กำหนดใหม่")] public Guid? NewPositionPathSideId { get; set; } public string? NewPositionPathSide { get; set; } [Comment("ระดับตำแหน่ง กำหนดใหม่")] public Guid? NewPositionLevelId { get; set; } public string? NewPositionLevel { get; set; } [Comment("สถานะการเปลี่ยนแปลง")] public string? Status { get; set; } [Comment("สังกัดที่ถือครอง")] public Guid? ProfilePositionId { get; set; } public Report2DetailHistory? Report2DetailHistory { get; set; } } }