Add LeaveType Seeder

This commit is contained in:
Suphonchai Phoonsawat 2023-11-28 12:28:20 +07:00
parent ef66c28f0e
commit 8037ad7e1e
11 changed files with 1111 additions and 2 deletions

View file

@ -0,0 +1,30 @@
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Leave.Service.DTOs.LeaveRequest
{
public class CreateLeaveRequestDto
{
[Required]
public Guid Type { get; set; } = Guid.Empty;
[Required]
public DateTime LeaveStartDate { get; set; } = DateTime.Now;
[Required]
public DateTime LeaveEndDate { get; set; } = DateTime.Now;
public string? LeaveWrote { get; set; }
public string? LeaveAddress { get; set; }
public string? LeaveNumber { get; set; }
public string? LeaveDetail { get; set; }
public IFormFile? LeaveDocument { get; set; }
public IFormFile? LeaveDraftDocument { get; set; }
public string? LeaveSalaryText { get; set; }
}
}