add table duty time
This commit is contained in:
parent
d06e1af217
commit
22d9210416
17 changed files with 2459 additions and 10 deletions
18
BMA.EHR.Domain/Models/Leave/TimeAttendants/UserDutyTime.cs
Normal file
18
BMA.EHR.Domain/Models/Leave/TimeAttendants/UserDutyTime.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue