add field เพื่อระบบกรอกข้อมูลทะเบียนประวัติ

This commit is contained in:
Suphonchai Phoonsawat 2024-02-09 12:49:13 +07:00
parent 1f4cee21c7
commit c704556891
11 changed files with 51552 additions and 1 deletions

View file

@ -335,5 +335,7 @@ namespace BMA.EHR.Domain.Models.HR
[Comment("วันที่รอบการลงเวลามีผล")]
public DateTime? DutyTimeEffectiveDate { get; set; }
public virtual List<ProfileLeaveSummary> LeaveSummary { get; set; } = new();
}
}

View file

@ -0,0 +1,23 @@
using BMA.EHR.Domain.Models.Base;
namespace BMA.EHR.Domain.Models.HR
{
public class ProfileLeaveSummary : EntityBase
{
public virtual Profile? Profile { get; set; }
public int LeaveYear { get; set; } = 0;
public string? SumSick { get; set; } = string.Empty;
public string? SumRest { get; set; } = string.Empty;
public string? SumLate { get; set; } = string.Empty;
public string? SumAbsent { get; set; } = string.Empty;
public string? SumEducation { get; set; } = string.Empty;
public bool IsActive { get; set; } = true;
}
}

View file

@ -70,18 +70,34 @@ namespace BMA.EHR.Domain.Models.HR
[Comment("OrgName")]
public string? OrgName { get; set; }
[Comment("AgencyName")]
public string? AgencyName { get; set; }
[Comment("PosNoName")]
public string? PosNoName { get; set; }
// Add For Entry
public string? PositionRef { get; set; }
public string? PositionTypeName { get; set; }
public string? PositionLevelName { get; set; }
[Comment("PositionName")]
public string? PositionName { get; set; }
[Comment("PositionLineName")]
public string? PositionLineName { get; set; }
[Comment("CLevel")]
public string? CLevel { get; set; }
[Comment("PositionPathSideName")]
public string? PositionPathSideName { get; set; }
[Comment("PositionExecutiveName")]
public string? PositionExecutiveName { get; set; }
}