Files

41 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CompanyManagment.App.Contracts.CustomizeWorkshopSettings;
using CompanyManagment.App.Contracts.WorkingHoursTemp;
namespace CompanyManagment.App.Contracts.Leave;
public class CreateLeave
{
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public string StartLeave { get; set; }
public DateTime StartLeaveGr { get; set; }
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
public string EndLeave { get; set; }
public DateTime EndLeaveGr { get; set; }
public string LeaveHourses { get; set; }
public long WorkshopId { get; set; }
public long EmployeeId { get; set; }
public string PaidLeaveType { get; set; }
public string LeaveType { get; set; }
public string EmployeeFullName { get; set; }
public string WorkshopName { get; set; }
public string StartHoures { get; set; }
public string EndHours { get; set; }
public bool IsAccepted { get; set; }
public string Decription { get; set; }
public int Year { get; set; }
public int Month { get; set; }
public List<LeaveViewModel> LeaveSearch { get; set; }
public List<CustomizeRotatingShiftsViewModel> RotatingShifts { get; set; }
public bool HasRollCall { get; set; }
public CustomizeRotatingShiftsViewModel SelectedShift { get; set; }
public bool IsInvallid { get; set; }
}