36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using BMA.EHR.Domain.Models.Base;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.Domain.Models.Leave.TimeAttendants
|
|
{
|
|
public class UserDutyTime : EntityBase
|
|
{
|
|
[Required, Comment("รหัส Profile ในระบบทะเบียนประวัติ")]
|
|
public Guid ProfileId { get; set; } = Guid.Empty;
|
|
|
|
[Required, Comment("รหัสรอบการลงเวลา")]
|
|
public Guid DutyTimeId { get; set; } = Guid.Empty;
|
|
|
|
public DutyTime DutyTime { get; set; }
|
|
|
|
[Comment("วันที่มีผล")]
|
|
public DateTime? EffectiveDate { get; set; }
|
|
|
|
[Comment("ทำการประมวลผลแล้วหรือยัง")]
|
|
public bool IsProcess { get; set; } = false;
|
|
|
|
[Comment("หมายเหตุ")]
|
|
public string? Remark { get; set; }
|
|
|
|
public Guid? RootDnaId { get; set; }
|
|
|
|
public Guid? Child1DnaId { get; set; }
|
|
|
|
public Guid? Child2DnaId { get; set; }
|
|
|
|
public Guid? Child3DnaId { get; set; }
|
|
|
|
public Guid? Child4DnaId { get; set; }
|
|
}
|
|
}
|