15 lines
622 B
C#
15 lines
622 B
C#
|
|
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;
|
||
|
|
}
|
||
|
|
}
|