แก้ api เพิ่มเติมการ upload image and document

This commit is contained in:
Suphonchai Phoonsawat 2023-05-02 22:59:01 +07:00
parent 86ec5de116
commit 6acd497afe
23 changed files with 4081 additions and 53 deletions

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