เพิ่ม api ผลตรวจเลือด

This commit is contained in:
Kittapath 2023-08-09 23:34:25 +07:00
parent 060765d373
commit 4a17aef039
18 changed files with 27329 additions and 562 deletions

View file

@ -12,24 +12,24 @@ namespace BMA.EHR.Domain.Models.Insignias
[Required]
public DateTime RequestDate { get; set; }
public decimal? Salary { get; set; }
public double? Salary { get; set; }
public bool IsApprove { get; set; } = false;
[MaxLength(50)]
public string QualificationStatus { get; set; }
public string? QualificationStatus { get; set; }
[MaxLength(50)]
public string DocumentStatus { get; set; }
public string? DocumentStatus { get; set; }
[Column(TypeName = "text")]
public string Note { get; set; }
public string? Note { get; set; }
[MaxLength(50)]
public string Special { get; set; }
public string? Special { get; set; }
[Column(TypeName = "text")]
public string MatchingConditions { get; set; }
public string? MatchingConditions { get; set; }
public Profile Profile { get; set; }

View file

@ -2,6 +2,8 @@
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.HR;
using BMA.EHR.Domain.Models.Organizations;
using BMA.EHR.Domain.Models.MetaData;
namespace BMA.EHR.Domain.Models.Placement
{
@ -13,6 +15,18 @@ namespace BMA.EHR.Domain.Models.Placement
public string? Organization { get; set; } = string.Empty;
[Comment("เหตุผล")]
public string? Reason { get; set; } = string.Empty;
[Comment("สังกัด")]
public OrganizationPositionEntity? OrganizationPositionOld { get; set; }
[Comment("ตั้งแต่วันที่")]
public DateTime? Date { get; set; }
[Comment("ข้อมูลหน่วยงานเดิม ตำแหน่งประเภท")]
public PositionType? PositionTypeOld { get; set; }
[Comment("ข้อมูลหน่วยงานเดิม ระดับ")]
public PositionLevel? PositionLevelOld { get; set; }
[Comment("ข้อมูลหน่วยงานเดิม เลขที่")]
public PositionNumberEntity? PositionNumberOld { get; set; }
[Comment("ข้อมูลหน่วยงานเดิม เงินเดือน")]
public double? AmountOld { get; set; }
[Comment("สถานะคำขอ")]
public string Status { get; set; } = "PENDING";
[Comment("สถานะการใช้งาน")]