แก้ api เพิ่มเติมการ upload image and document
This commit is contained in:
parent
86ec5de116
commit
6acd497afe
23 changed files with 4081 additions and 53 deletions
19
Models/Recruits/RecruitImportImage.cs
Normal file
19
Models/Recruits/RecruitImportImage.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
using BMA.EHR.Recruit.Service.Models.Documents;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace BMA.EHR.Recruit.Service.Models.Recruits
|
||||
{
|
||||
public class RecruitImportImage: EntityBase
|
||||
{
|
||||
[Required, Comment("Id รอบสมัครสอบ")]
|
||||
public Guid RecruitImportId { get; set; }
|
||||
|
||||
public virtual RecruitImport? RecruitImport { get; set; }
|
||||
|
||||
[Required, Comment("Id ไฟล์รูป")]
|
||||
public Guid DocumentId { get; set; }
|
||||
|
||||
public virtual Document? Document { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue