Add MetaData Table From ExistData

Change to use MySQL
This commit is contained in:
Suphonchai Phoonsawat 2023-06-26 14:02:04 +07:00
parent 89de09d213
commit a0b3b13074
136 changed files with 3438 additions and 1237 deletions

View file

@ -0,0 +1,33 @@
using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Domain.Models.Base;
namespace BMA.EHR.Profile.Service.Models.HR
{
public class ProfileTrainingHistory : EntityBase
{
[MaxLength(200), Comment("ชื่อโครงการ/หลักสูตรการฝึกอบรม")]
public string? Name { get; set; }
[MaxLength(200), Comment("หัวข้อการฝึกอบรม/ดูงาน")]
public string? Topic { get; set; }
[MaxLength(200), Comment("ปีที่อบรม (พ.ศ.)")]
public int? Yearly { get; set; }
[MaxLength(200), Comment("สถานที่ฝึกอบรม/ดูงาน")]
public string? Place { get; set; }
[MaxLength(200), Comment("รวมระยะเวลาในการฝึกอบรม/ดูงาน")]
public string? Duration { get; set; }
[MaxLength(200), Comment("หน่วยงานที่รับผิดชอบจัดการฝึกอบรม/ดูงาน")]
public string? Department { get; set; }
[MaxLength(200), Comment("เลขที่คำสั่ง/เลขที่หนังสืออนุมัติ")]
public string? NumberOrder { get; set; }
[Comment("คำสั่งลงวันที่/หนังสืออนุมัติลงวันที่")]
public DateTime? DateOrder { get; set; }
[Comment("วันเริ่มต้นการฝึกอบรม/ดูงาน")]
public DateTime? StartDate { get; set; }
[Comment("วันสิ้นสุดการฝึกอบรม/ดูงาน")]
public DateTime? EndDate { get; set; }
public virtual ProfileTraining? ProfileTraining { get; set; }
}
}