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; } } }