23 lines
734 B
C#
23 lines
734 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BMA.EHR.Leave.Service.DTOs.LeaveBeginnings
|
|
{
|
|
public class EditLeaveBeginningDto
|
|
{
|
|
[Required]
|
|
public Guid ProfileId { get; set; } = Guid.Empty;
|
|
|
|
[Required]
|
|
public Guid LeaveTypeId { get; set; } = Guid.Empty;
|
|
|
|
[Required, Comment("ปีงบประมาณ")]
|
|
public int LeaveYear { get; set; } = 0;
|
|
|
|
[Required, Comment("จำนวนวันลายกมา")]
|
|
public double LeaveDays { get; set; } = 0.0;
|
|
|
|
[Required, Comment("จำนวนวันลาที่ใช้ไป")]
|
|
public double LeaveDaysUsed { get; set; } = 0.0;
|
|
}
|
|
}
|