สร้าง api อัพเอกสาร
This commit is contained in:
parent
3ff5a4fa46
commit
15e4d21a6f
13 changed files with 3037 additions and 5 deletions
|
|
@ -22,6 +22,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
[Comment("Id รูปโปรไฟล์")]
|
||||
public virtual Document? ProfileImg { get; set; }
|
||||
|
||||
[Comment("Id หลักฐานชำระเงิน")]
|
||||
public virtual Document? PaymentImg { get; set; }
|
||||
|
||||
|
||||
|
||||
[Comment("คำนำหน้าชื่อ")]
|
||||
|
|
|
|||
15
Models/CandidateDocument.cs
Normal file
15
Models/CandidateDocument.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Recurit.Exam.Service.Models.Documents;
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Models
|
||||
{
|
||||
public class CandidateDocument : EntityBase
|
||||
{
|
||||
[Required, Comment("Id ผู้สมัครสอบ")]
|
||||
public virtual Candidate? Candidate { get; set; }
|
||||
[Required, Comment("Id ไฟล์เอกสาร")]
|
||||
public virtual Document? Document { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue