cronjob + ลงเวลากรณีพิเดศษ
This commit is contained in:
parent
72f64728bb
commit
e76d994098
16 changed files with 1518 additions and 9 deletions
|
|
@ -0,0 +1,30 @@
|
|||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Leave.TimeAttendants
|
||||
{
|
||||
public class AdditionalCheckRequest: EntityBase
|
||||
{
|
||||
[Required,Comment("*วันที่ลงเวลา")]
|
||||
public DateTime CheckDate { get; set; } = DateTime.Now.Date;
|
||||
|
||||
[Required, Comment("*ขอลงเวลาช่วงเช้า")]
|
||||
public bool CheckInEdit { get; set; } = false;
|
||||
|
||||
[Required, Comment("*ขอลงเวลาช่วงบ่าย")]
|
||||
public bool CheckOutEdit { get; set; } = false;
|
||||
|
||||
[Required, Comment("*หมายเหตุขอลงเวลาพิเศษ")]
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
[Comment("สถานะการอนุมัติ")]
|
||||
public bool IsApproved { get; set; } = false;
|
||||
|
||||
[Comment("หมายเหตุในการการอนุมัติ/ไม่อนุมัติ")]
|
||||
public string? Comment { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("รหัส User ของ Keycloak ที่ร้องขอ")]
|
||||
public Guid KeycloakUserId { get; set; } = Guid.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue