hrms-api-backend/BMA.EHR.Domain/Models/Discipline/DisciplineInvestigateExtend.cs

25 lines
1 KiB
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Domain.Models.Base;
using BMA.EHR.Domain.Models.MetaData;
using BMA.EHR.Domain.Models.Organizations;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Domain.Models.Discipline
{
public class DisciplineInvestigateExtend : EntityBase
{
[Comment("ชื่อการขยาย")]
public string? Name { get; set; }
[Comment("ครั้งที่ขยาย")]
public int Num { get; set; }
[Comment("จำนวนวันที่การขยาย")]
public int? DaysExtend { get; set; }
[Comment("วันที่เริ่ม")]
public DateTime? DateStart { get; set; }
[Comment("วันที่สิ้นสุด")]
public DateTime? DateEnd { get; set; }
[Required, Comment("Id เรื่องสืบสวน")]
public DisciplineInvestigate DisciplineInvestigate { get; set; }
}
}