รายงานลัญชี 1-2-3 และรายงาน กพ7

This commit is contained in:
Suphonchai Phoonsawat 2023-05-13 17:37:23 +07:00
parent 1dc973cc73
commit a15f2a1081
16 changed files with 1893 additions and 585 deletions

53
Models/Report2/Report2.cs Normal file
View file

@ -0,0 +1,53 @@
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 Report2 : EntityBase
{
[Comment("รหัสส่วนราชการ")]
public Guid? OrganizationShortNameId { get; set; }
public string? OrganizationShortName { get; set; }
public string? GovernmentCode { get; set; }
[Comment("ชื่อหน่วยงาน")]
public Guid? OrganizationOrganizationId { get; set; }
public string? OrganizationOrganization { get; set; }
[Comment("ตำแหน่งเลขที่")]
public Guid? PositionNumId { get; set; }
public string? PositionNum { get; set; }
[Comment("ประเภทตำแหน่ง")]
public Guid? PositionTypeId { get; set; }
public string? PositionType { get; set; }
[Comment("ตำแหน่งทางการบริหาร")]
public Guid? PositionExecutiveId { get; set; }
public string? PositionExecutive { get; set; }
[Comment("ด้านทางบริหาร")]
public Guid? PositionExecutiveSideId { get; set; }
public string? PositionExecutiveSide { get; set; }
[Comment("ตำแหน่งในสายงาน")]
public Guid? PositionPathId { get; set; }
public string? PositionPath { get; set; }
[Comment("ด้าน/สาขา")]
public Guid? PositionPathSideId { get; set; }
public string? PositionPathSide { get; set; }
[Comment("ระดับตำแหน่ง")]
public Guid? PositionLevelId { get; set; }
public string? PositionLevel { get; set; }
[Comment("สถานะการเปลี่ยนแปลง")]
public string? Status { get; set; }
[Comment("สังกัดที่ถือครอง")]
public Guid? ProfilePositionId { get; set; }
}
}

View file

@ -0,0 +1,12 @@
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 Report2DetailHistory : EntityBase
{
public string? Detail { get; set; }
}
}

View file

@ -0,0 +1,102 @@
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; }
}
}