hrms-api-backend/BMA.EHR.Domain/Models/HR/ProfileAbility.cs
Suphonchai Phoonsawat 68dab7a727 Add Profile Table
2023-06-26 15:18:39 +07:00

47 lines
No EOL
1.7 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Domain.Models.HR
{
public class ProfileAbility : EntityBase
{
[Comment("ด้าน")]
/// <summary>
/// ด้าน (ใช้เฉพาะ ความสามารถพิเศษ)
/// </summary>
public string? Field { get; set; }
[Comment("รายละเอียด")]
/// <summary>
/// รายละเอียด
/// </summary>
public string? Detail { get; set; }
[Comment("หมายเหตุ")]
/// <summary>
/// หมายเหตุ
/// </summary>
public string? Remark { get; set; }
[Comment("วันที่เริ่มต้น")]
/// <summary>
/// วันที่เริ่มต้น
/// </summary>
public DateTime? DateStart { get; set; }
[Comment("วันที่สิ้นสุด")]
/// <summary>
/// วันที่สิ้นสุด
/// </summary>
public DateTime? DateEnd { get; set; }
[Comment("เอกสารอ้างอิง")]
/// <summary>
/// เอกสารอ้างอิง
/// </summary>
public string? Reference { get; set; }
// public string? Side { get; set; }
// public string? Detail { get; set; }
// public string? Note { get; set; }
public virtual List<ProfileAbilityHistory> ProfileAbilityHistorys { get; set; } = new List<ProfileAbilityHistory>();
public virtual Profile? Profile { get; set; }
}
}