34 lines
2 KiB
C#
34 lines
2 KiB
C#
using System;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using BMA.EHR.Domain.Models.Base;
|
|
|
|
namespace BMA.EHR.Domain.Models.HR
|
|
{
|
|
public class ProfileTraining : 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 List<ProfileTrainingHistory> ProfileTrainingHistorys { get; set; } = new List<ProfileTrainingHistory>();
|
|
public virtual Profile? Profile { get; set; }
|
|
}
|
|
}
|