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

29 lines
1.2 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Domain.Models.Base;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Domain.Models.HR
{
public class ProfileDisciplineHistory : EntityBase
{
[Comment("ระดับความผิด")]
public string? Level { get; set; }
[Column(TypeName = "text")]
[Comment("รายละเอียด")]
public string? Detail { get; set; }
[Comment("เอกสารอ้างอิง (เลขที่คำสั่ง)")]
public string? RefCommandNo { get; set; }
[Comment("เอกสารอ้างอิง (ลงวันที่)")]
public DateTime? RefCommandDate { get; set; }
[Comment("วัน เดือน ปี")]
public DateTime? Date { get; set; }
// public DateTime? Date { get; set; }
// public string? Status { get; set; }
// public string? Level { get; set; }
// public string? RefNo { get; set; }
// public DateTime? RefDate { get; set; }
public virtual ProfileDiscipline? ProfileDiscipline { get; set; }
}
}