Add MetaData Table From ExistData
Change to use MySQL
This commit is contained in:
parent
89de09d213
commit
a0b3b13074
136 changed files with 3438 additions and 1237 deletions
49
BMA.EHR.Domain/Models/HR/ProfileEducation.cs
Normal file
49
BMA.EHR.Domain/Models/HR/ProfileEducation.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Profile.Service.Models.HR
|
||||
{
|
||||
public class ProfileEducation : EntityBase
|
||||
{
|
||||
// [Key]
|
||||
// public int Id { get; set; }
|
||||
// [Required]
|
||||
// public int Order { get; set; }
|
||||
[MaxLength(1000), Comment("สถานศึกษา")]
|
||||
public string? Institute { get; set; }
|
||||
[MaxLength(200), Comment("วุฒิการศึกษา")]
|
||||
public string? Degree { get; set; }
|
||||
[MaxLength(200), Comment("สาขาวิชา/ทาง")]
|
||||
public string? Field { get; set; }
|
||||
[MaxLength(20), Comment("เกรดเฉลี่ย")]
|
||||
public string? Gpa { get; set; }
|
||||
[MaxLength(1000), Comment("ประเทศ")]
|
||||
public string? Country { get; set; }
|
||||
[MaxLength(1000), Comment("ระยะเวลา")]
|
||||
public string? Duration { get; set; }
|
||||
[MaxLength(1000), Comment("ข้อมูลการติดต่อ")]
|
||||
public string? Other { get; set; }
|
||||
[MaxLength(1000), Comment("ทุน")]
|
||||
public string? FundName { get; set; }
|
||||
[Comment("ระยะเวลาหลักสูตร")]
|
||||
public int DurationYear { get; set; }
|
||||
[Comment("วันที่สำเร็จการศึกษา")]
|
||||
public DateTime? FinishDate { get; set; }
|
||||
[Comment("ตั้งแต่")]
|
||||
public DateTime? StartDate { get; set; }
|
||||
[Comment("ถึง")]
|
||||
public DateTime? EndDate { get; set; }
|
||||
[Comment("ระดับศึกษา")]
|
||||
public string? EducationLevel { get; set; }
|
||||
[Comment("Id ระดับศึกษา")]
|
||||
public Guid? EducationLevelId { get; set; }
|
||||
[Comment("เป็นวุฒิการศึกษาในตำแหน่ง")]
|
||||
public string? PositionPath { get; set; }
|
||||
[Comment("Id เป็นวุฒิการศึกษาในตำแหน่ง")]
|
||||
public Guid? PositionPathId { get; set; }
|
||||
public virtual List<ProfileEducationHistory> ProfileEducationHistorys { get; set; } = new List<ProfileEducationHistory>();
|
||||
public virtual Profile? Profile { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue