เพิ่มการจัดการตารางการทำงาานของ ขรก ในส่วนของ Model และ Repository

This commit is contained in:
Suphonchai Phoonsawat 2024-01-09 09:41:26 +07:00
parent 6d7aebaeb5
commit 0e22e3886f
7 changed files with 1252 additions and 1 deletions

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