แก้ Defect LV1_001 - สร้างรอบการปฏิบัติงาน (ADMIN)_defect_001
This commit is contained in:
parent
ab9473c133
commit
ef66c28f0e
2 changed files with 3 additions and 3 deletions
|
|
@ -171,7 +171,7 @@ namespace BMA.EHR.Leave.Service.Controllers
|
|||
var inserted = new DutyTime
|
||||
{
|
||||
Id = Guid.NewGuid(),
|
||||
Description = data.Description,
|
||||
Description = data.Description ?? "",
|
||||
StartTimeMorning = data.StartTimeMorning,
|
||||
EndTimeMorning = data.EndTimeMorning,
|
||||
StartTimeAfternoon = data.StartTimeAfternoon,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ namespace BMA.EHR.Leave.Service.DTOs.DutyTime
|
|||
public class CreateDutyTimeDto
|
||||
{
|
||||
|
||||
[Required, Comment("คำอธิบาย")]
|
||||
public string Description { get; set; } = string.Empty;
|
||||
[Comment("คำอธิบาย")]
|
||||
public string? Description { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("เวลาเข้างานช่วงเช้า")]
|
||||
public string StartTimeMorning { get; set; } = "00:00";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue