add table duty time

This commit is contained in:
Suphonchai Phoonsawat 2023-11-23 10:35:55 +07:00
parent d06e1af217
commit 22d9210416
17 changed files with 2459 additions and 10 deletions

View file

@ -0,0 +1,18 @@
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; }
}
}