api ตำแหน่ง draft

This commit is contained in:
Kittapath 2023-07-19 10:25:54 +07:00
parent 6b7fcaaba2
commit 6a572144ab
42 changed files with 32604 additions and 1 deletions

View file

@ -0,0 +1,7 @@
namespace BMA.EHR.Application.Requests
{
public class InsigniaApproveRequest
{
public List<InsigniaReqApproveItem> Items { get; set; }
}
}

View file

@ -0,0 +1,15 @@
namespace BMA.EHR.Application.Requests
{
public class InsigniaItem
{
public Guid Id { get; set; }
public string Name { get; set; }
public string ShortName { get; set; }
public string Level { get; set; }
public Guid? LevelId { get; set; }
}
}

View file

@ -0,0 +1,19 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Application.Requests
{
public class InsigniaPeriodRequest
{
public string Name { get; set; }
public int Year { get; set; }
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public string Amount { get; set; }
public string Type { get; set; }
}
}

View file

@ -0,0 +1,10 @@
namespace BMA.EHR.Application.Requests
{
public class InsigniaReqApproveItem
{
public Guid ProfileId { get; set; }
public bool IsApprove { get; set; } = false;
}
}

View file

@ -0,0 +1,9 @@
namespace BMA.EHR.Application.Requests
{
public class InsigniaRequestDoc
{
public int FileId { get; set; }
public int DocId { get; set; }
public string DocName { get; set; }
}
}

View file

@ -0,0 +1,22 @@
namespace BMA.EHR.Application.Requests
{
public class InsigniaRequestItem
{
public Guid ProfileId { get; set; }
public string FullName { get; set; }
public string Position { get; set; }
public string PosNo { get; set; }
public string Rank { get; set; }
public string Salary { get; set; }
public string LastInsignia { get; set; }
public string RequestInsignia { get; set; }
public string RequestInsigniaShortName { get; set; }
public string Level { get; set; }
public bool IsApprove { get; set; }
public DateTime? RequestDate { get; set; }
public string RequestNote { get; set; }
public List<InsigniaRequestDoc> Docs { get; set; }
public List<MatchingCondition> MatchingConditions { get; set; } = new List<MatchingCondition>();
}
}

View file

@ -0,0 +1,41 @@
using System.Collections.Generic;
namespace BMA.EHR.Application.Requests
{
public class InsigniaResultSet
{
public Guid ProfileId { get; set; }
public string Prefix { get; set; }
public string FullName { get; set; }
public string Position { get; set; }
public string Rank { get; set; }
public string GovAge { get; set; }
public string Salary { get; set; }
public string LastInsignia { get; set; }
public int? LastInsigniaId { get; set; }
public string PosNo { get; set; }
public InsigniaItem RequestInsignia { get; set; }
public string Gender { get; set; }
public int Seq { get; set; }
public List<MatchingCondition> MatchingConditions { get; set; } = new List<MatchingCondition>();
}
public class MatchingCondition
{
public string Condition { get; set; } = "";
public string Result { get; set; } = "";
}
}

View file

@ -0,0 +1,14 @@
using System.Collections.Generic;
namespace BMA.EHR.Application.Requests
{
public class InsigniaResults
{
public Guid PeriodId { get; set; }
public string Name { get; set; }
public string Year { get; set; }
public string RequestStatus { get; set; }
public string OrganizationName { get; set; }
public List<InsigniaRequestItem> Items { get; set; }
}
}

View file

@ -0,0 +1,9 @@
namespace BMA.EHR.Application.Requests
{
public class SaveRequsetNote
{
public Guid PeriodId { get; set; }
public Guid OcId { get; set; }
public string Note { get; set; }
}
}

View file

@ -0,0 +1,44 @@
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Application.Requests
{
public class SaveToProfileRequest
{
public int OCId { get; set; }
public DateTime? InsigniaDatereceive { get; set; }
public string InsigniaLevel { get; set; }
public string InsigniaIssue { get; set; }
public int? InsigniaVolumeno { get; set; }
public string InsigniaVolume { get; set; }
public string InsigniaSection { get; set; }
public DateTime? InsigniaDateannounce { get; set; }
public List<ProfileInsignias> Profile { get; set; }
public List<DocReceive> Docs { get; set; }
}
public class ProfileInsignias
{
public string FkProfileId { get; set; }
public string InsigniaName { get; set; }
public string InsigniaPage { get; set; }
public string InsigniaNo { get; set; }
public int? Kp7InsigniaId { get; set; }
}
public class DocReceive
{
public int DocId { get; set; }
public int InsigniaType { get; set; }
public int Type { get; set; }
}
public class Kp7Item
{
public DateTime? InsigniaDatereceive { get; set; }
public string InsigniaLevel { get; set; }
public string InsigniaIssue { get; set; }
public int? InsigniaVolumeno { get; set; }
public string InsigniaVolume { get; set; }
public string InsigniaSection { get; set; }
public DateTime? InsigniaDateannounce { get; set; }
}
}