ปรับ api ให้สามารถ upload เอกสารประกอบได้หลายไฟล์
This commit is contained in:
parent
1f7b5cd21f
commit
0f5c9a2dcf
10 changed files with 1356 additions and 23 deletions
12
BMA.EHR.Domain/Models/Leave/Requests/LeaveDocument.cs
Normal file
12
BMA.EHR.Domain/Models/Leave/Requests/LeaveDocument.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using BMA.EHR.Domain.Models.Base;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Leave.Requests
|
||||
{
|
||||
public class LeaveDocument : EntityBase
|
||||
{
|
||||
public Document Document { get; set; }
|
||||
|
||||
public LeaveRequest LeaveRequest { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ namespace BMA.EHR.Domain.Models.Leave.Requests
|
|||
[Required, Comment("รายละเอียดการลา")]
|
||||
public string LeaveDetail { get; set; } = string.Empty;
|
||||
|
||||
public Document? LeaveDocument { get; set; }
|
||||
public List<LeaveDocument> LeaveDocument { get; set; } = new();
|
||||
|
||||
public Document? LeaveDraftDocument { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue