Add LeaveType Seeder
This commit is contained in:
parent
ef66c28f0e
commit
8037ad7e1e
11 changed files with 1111 additions and 2 deletions
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue