เพิ่มการจัดการตารางการทำงาานของ ขรก ในส่วนของ Model และ Repository
This commit is contained in:
parent
6d7aebaeb5
commit
0e22e3886f
7 changed files with 1252 additions and 1 deletions
15
BMA.EHR.Domain/Models/Leave/TimeAttendants/UserCalendar.cs
Normal file
15
BMA.EHR.Domain/Models/Leave/TimeAttendants/UserCalendar.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Leave.TimeAttendants
|
||||
{
|
||||
public class UserCalendar : EntityBase
|
||||
{
|
||||
[Required, Comment("รหัส Profile ในระบบทะเบียนประวัติ")]
|
||||
public Guid ProfileId { get; set; } = Guid.Empty;
|
||||
|
||||
[Required, Comment("ปฏิทินการทำงานของ ขรก ปกติ หรือ 6 วันต่อสัปดาห์")]
|
||||
public string Calendar { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue