fix : Leave and Insignia (Not Complete)
This commit is contained in:
parent
89b4c71dbd
commit
c85bece782
14 changed files with 18266 additions and 88 deletions
|
|
@ -1,9 +1,5 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
using BMA.EHR.Domain.Models.MetaData;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Insignias
|
||||
{
|
||||
|
|
@ -11,8 +7,9 @@ namespace BMA.EHR.Domain.Models.Insignias
|
|||
{
|
||||
[Comment("จำนวนทั้งหมด")]
|
||||
public int Total { get; set; }
|
||||
[Comment("Fk Table OrganizationOrganization")]
|
||||
public OrganizationOrganization OrganizationOrganization { get; set; }
|
||||
[Comment("รหัสหน่วยงาน")]
|
||||
public Guid OrganizationId { get; set; }
|
||||
//public OrganizationOrganization OrganizationOrganization { get; set; }
|
||||
[Comment("Fk Table InsigniaManage")]
|
||||
public InsigniaManage InsigniaManage { get; set; }
|
||||
public virtual List<InsigniaManageProfile> InsigniaManageProfiles { get; set; } = new List<InsigniaManageProfile>();
|
||||
|
|
|
|||
|
|
@ -11,18 +11,27 @@ namespace BMA.EHR.Domain.Models.Insignias
|
|||
{
|
||||
[Comment("สถานะการคืน")]
|
||||
public bool Status { get; set; }
|
||||
|
||||
[Comment("ยืมวันที่")]
|
||||
public DateTime? BorrowDate { get; set; }
|
||||
|
||||
[Comment("Fk Table OrganizationOrganization Borrow")]
|
||||
public OrganizationOrganization? BorrowOrganization { get; set; }
|
||||
//public OrganizationOrganization? BorrowOrganization { get; set; }
|
||||
public Guid? BorrowOrganizationId { get; set; }
|
||||
|
||||
[Comment("คืนวันที่")]
|
||||
public DateTime? ReturnDate { get; set; }
|
||||
|
||||
[Comment("Fk Table OrganizationOrganization Return")]
|
||||
public OrganizationOrganization? ReturnOrganization { get; set; }
|
||||
//public OrganizationOrganization? ReturnOrganization { get; set; }
|
||||
public Guid? ReturnOrganizationId { get; set; }
|
||||
|
||||
[Comment("เหตุผลคืน")]
|
||||
public string? ReturnReason { get; set; }
|
||||
|
||||
[Comment("Fk Table InsigniaNoteProfile")]
|
||||
public InsigniaNoteProfile InsigniaNoteProfile { get; set; }
|
||||
|
||||
[Comment("Fk Table InsigniaManageOrganiation")]
|
||||
public InsigniaManageOrganiation InsigniaManageOrganiation { get; set; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue