ปรับ api ให้สามารถ upload เอกสารประกอบได้หลายไฟล์

This commit is contained in:
Suphonchai Phoonsawat 2024-01-09 11:26:36 +07:00
parent 1f7b5cd21f
commit 0f5c9a2dcf
10 changed files with 1356 additions and 23 deletions

View file

@ -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; }