18 lines
609 B
C#
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; }
|
|
}
|
|
}
|