เพิ่ม user ใน บรรจุ

This commit is contained in:
Kittapath 2023-08-19 21:03:17 +07:00
parent d5ffd5cb08
commit 824c8267ef
24 changed files with 45466 additions and 16 deletions

View file

@ -21,6 +21,7 @@ namespace BMA.EHR.Domain.Models.OrganizationEmployee
public string? PositionCondition { get; set; }
public string? PositionMasterUserNote { get; set; }
public string? OrganizationOrder { get; set; }
public bool? IsPublic { get; set; } = true;
public OrganizationFax? OrganizationFax { get; set; }
public OrganizationLevel? OrganizationLevel { get; set; }
@ -40,6 +41,7 @@ namespace BMA.EHR.Domain.Models.OrganizationEmployee
public OrganizationShortName? OrganizationShortName { get; set; }
public virtual List<OrganizationPositionEmployeeLevel> OrganizationPositionEmployeeLevels { get; set; } = new List<OrganizationPositionEmployeeLevel>();
public virtual List<OrganizationPositionEmployeePositionSide> OrganizationPositionEmployeePositionSides { get; set; } = new List<OrganizationPositionEmployeePositionSide>();
public virtual List<OrganizationEmployeeProfile> OrganizationEmployeeProfiles { get; set; } = new List<OrganizationEmployeeProfile>();
public Profile? Profile { get; set; }
}
}

View file

@ -0,0 +1,14 @@
using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.HR;
using BMA.EHR.Domain.Models.MetaData;
using BMA.EHR.Domain.Models.Organizations;
namespace BMA.EHR.Domain.Models.OrganizationEmployee
{
public class OrganizationEmployeeProfile : EntityBase
{
public Profile Profile { get; set; }
public OrgEmployee OrgEmployee { get; set; }
public string Status { get; set; }
}
}

View file

@ -4,11 +4,14 @@ using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.MetaData;
using BMA.EHR.Domain.Models.Organizations;
using BMA.EHR.Domain.Models.Commands.Core;
using BMA.EHR.Domain.Models.HR;
namespace BMA.EHR.Domain.Models.Placement
{
public class PlacementAppointment : EntityBase
{
[Required, Comment("Id User")]
public Profile Profile { get; set; }
[Required, MaxLength(20), Comment("เลขประจำตัวประชาชน")]
public string? CitizenId { get; set; }
[Required, Comment("คำนำหน้า")]

View file

@ -18,7 +18,9 @@ namespace BMA.EHR.Domain.Models.Placement
[Comment("สังกัด")]
public string? OrganizationPositionOld { get; set; }
[Comment("ตั้งแต่วันที่")]
public DateTime? Date { get; set; }
public DateTime? DateStart { get; set; }
[Comment("ถึงวันที่")]
public DateTime? DateEnd { get; set; }
[Comment("ข้อมูลหน่วยงานเดิม ตำแหน่งประเภท")]
public string? PositionTypeOld { get; set; }
[Comment("ข้อมูลหน่วยงานเดิม ระดับ")]

View file

@ -3,11 +3,14 @@ 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;
namespace BMA.EHR.Domain.Models.Placement
{
public class PlacementReceive : EntityBase
{
[Required, Comment("Id User")]
public Profile Profile { get; set; }
[Required, MaxLength(20), Comment("เลขประจำตัวประชาชน")]
public string CitizenId { get; set; }
[Required, Comment("คำนำหน้า")]

View file

@ -3,11 +3,14 @@ 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;
namespace BMA.EHR.Domain.Models.Placement
{
public class PlacementRelocation : EntityBase
{
[Required, Comment("Id User")]
public Profile Profile { get; set; }
[Required, MaxLength(20), Comment("เลขประจำตัวประชาชน")]
public string? CitizenId { get; set; }
[Required, Comment("คำนำหน้า")]

View file

@ -10,6 +10,8 @@ namespace BMA.EHR.Domain.Models.Retirement
{
public class RetirementOther : EntityBase
{
[Required, Comment("Id User")]
public Profile Profile { get; set; }
[Required, MaxLength(20), Comment("เลขประจำตัวประชาชน")]
public string? CitizenId { get; set; }
[Required, Comment("คำนำหน้า")]