26 lines
937 B
C#
26 lines
937 B
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; }
|
|
}
|
|
}
|