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

34 lines
1.4 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 ProfileDiscipline : EntityBase
{
// [Key]
// public int Id { get; set; }
// [Required]
// public int Order { get; set; }
[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 List<ProfileDisciplineHistory> ProfileDisciplineHistorys { get; set; } = new List<ProfileDisciplineHistory>();
public virtual Profile? Profile { get; set; }
}
}