api cms แก้หน้าสมัครสอบ

This commit is contained in:
Kittapath 2023-04-07 16:26:11 +07:00
parent c986fc1500
commit 9486ad160d
21 changed files with 9389 additions and 0 deletions

53
Models/CMSCandidate.cs Normal file
View file

@ -0,0 +1,53 @@
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 CMSCandidate : EntityBase
{
[Comment("Id โลโก้เว็บ")]
public virtual Document? LogoImg { get; set; }
[Comment("Id Banner")]
public virtual Document? BannerImg { get; set; }
[Comment("ชื่อเว็บภาษาไทย")]
public string? NameTh { get; set; }
[Comment("ชื่อเว็บภาษาอังกฤษ")]
public string? NameEn { get; set; }
[Comment("ข้อมูลเว็บโดยย่อ")]
public string? Description { get; set; }
[Comment("ข้อมูลเกี่ยวกับเรา")]
public string? About { get; set; }
[Comment("ที่อยู่")]
public string? Address { get; set; }
[Comment("จังหวัด")]
public virtual Province? Province { get; set; }
[Comment("อำเภอ")]
public virtual District? District { get; set; }
[Comment("ตำบล")]
public virtual SubDistrict? SubDistrict { get; set; }
[MaxLength(10), Comment("รหัสไปรษณีย์")]
public string? ZipCode { get; set; }
[MaxLength(20), Comment("โทรศัพท์")]
public string? Telephone { get; set; }
public List<CMSAgency> CMSAgencys { get; set; } = new List<CMSAgency>();
public List<CMSGovernment> CMSGovernments { get; set; } = new List<CMSGovernment>();
}
}