fix: insignia + leave Error

This commit is contained in:
Suphonchai Phoonsawat 2024-07-10 10:46:26 +07:00
parent 41d28c4d7f
commit 7d8a80e9df
72 changed files with 132 additions and 142 deletions

View file

@ -1,17 +0,0 @@
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Leave.Service.DTOs.DutyTime
{
public class UpdateDutyTimeDto
{
[Comment("คำอธิบาย")]
public string? Description { get; set; } = string.Empty;
[Required, Comment("สถานะว่ารอบใดเป็นค่า Default ของข้าราชการ (สำหรับทุกคนที่ยังไม่ได้ทำการเลือกรอบ)")]
public bool IsDefault { get; set; } = false;
[Required, Comment("สถานะการเปิดใช้งาน (เปิด/ปิด)")]
public bool IsActive { get; set; } = true;
}
}