hrms-api-backend/BMA.EHR.Domain/Models/Leave/TimeAttendants/UserDutyTime.cs
Suphonchai Phoonsawat 22d9210416 add table duty time
2023-11-23 10:35:55 +07:00

18 lines
609 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("รหัส User ของ Keycloak")]
public Guid KeycloakUserId { get; set; } = Guid.Empty;
[Required, Comment("รหัสรอบการลงเวลา")]
public Guid DutyTimeId { get; set; } = Guid.Empty;
[Comment("วันที่มีผล")]
public DateTime? EffectiveDate { get; set; }
}
}