using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CompanyManagment.App.Contracts.Contract; using CompanyManagment.App.Contracts.Employee; using CompanyManagment.App.Contracts.RollCall; using CompanyManagment.App.Contracts.YearlySalary; using Microsoft.AspNetCore.Mvc.Rendering; namespace CompanyManagment.App.Contracts.Checkout; public class CreateCheckout { public string EmployeeFullName { get; set; } public string FathersName { get; set; } public string NationalCode { get; set; } public string DateOfBirth { get; set; } public long EmployeeId { get; set; } public string WorkshopName { get; set; } public long WorkshopId { get; set; } public string ContractNo { get; set; } public string ContractStart { get; set; } public string ContractEnd { get; set; } public DateTime ContractStartGr { get; set; } public DateTime ContractEndGr { get; set; } public string Month { get; set; } public string Year { get; set; } public long ContractId { get; set; } public long WorkingHoursId { get; set; } public string DayliWage { get; set; } public double MonthlySalary { get; set; } public double BaseYearsPay { get; set; } public string ConsumableItems { get; set; } public string HousingAllowance { get; set; } public double OvertimePay { get; set; } public double NightworkPay { get; set; } public double FridayPay { get; set; } public double MissionPay { get; set; } public double ShiftPay { get; set; } public string FamilyAllowance { get; set; } public double BonusesPay { get; set; } public double YearsPay { get; set; } public double LeavePay { get; set; } public double? RewardPay { get; set; } public double InsuranceDeduction { get; set; } public double TaxDeducation { get; set; } public double InstallmentDeduction { get; set; } public double SalaryAidDeduction { get; set; } public double AbsenceDeduction { get; set; } public string SumOfWorkingDays { get; set; } public string ArchiveCode { get; set; } public string PersonnelCode { get; set; } public string TotalClaims { get; set; } public string TotalDeductions { get; set; } public double TotalPayment { get; set; } public SelectList EmployeeSelectList { get; set; } public SelectList WorkshopNameSelectList { get; set; } public SelectList WorkshopCodeSelectList { get; set; } public List Yearlist { get; set; } public List Contracts { get; set; } public string WorkingWeeklyTime { get; set; } public int officialholiday { get; set; } public int friday { get; set; } public string totalHoursH { get; set; } public string totalHorsM { get; set; } public TimeSpan WeeklyTime { get; set; } public string Basic { get; set; } public int FridayStarttoEnd { get; set; } public string TotalHolidaysAndNotH{ get; set; } public string TotalHolidaysAndNotM { get; set; } public double DailFeeComplete { get; set; } public string Signature { get; set; } //حق تاهل public string MarriedAllowance { get; set; } //وضعیت تصفیه مزد مرخصی public bool LeaveCheckout { get; set; } //مدت طلب مرخصی public double CreditLeaves { get; set; } //مدت غیبت public double AbsencePeriod { get; set; } //میانگین ساعت کار در یک روز public double AverageHoursPerDay { get; set; } public List EmployeeList { get; set; } public long UserId { get; set; } public bool HasRollCall { get; set; } /// /// مقدار اضافه کار /// public string OverTimeWorkValue { get; set; } /// /// مقدار شبکاری /// public string OverNightWorkValue { get; set; } /// /// مقدار جمعه کاری /// public string FridayWorkValue { get; set; } /// /// درصد نوبت کاری /// public string RotatingShiftValue { get; set; } /// /// مقدار غیبت /// public string AbsenceValue { get; set; } /// /// تعداد روزهای محاسبه شده برای مزد مرخصی /// public string TotalDayOfLeaveCompute { get; set; } /// /// تعداد روزهای محاسبه شده برای سنوات /// public string TotalDayOfYearsCompute { get; set; } /// /// تعداد روزهای محاسبه شده برای عیدی و پاداش /// public string TotalDayOfBunosesCompute { get; set; } /// /// ساعت موظفی پرسنل برای این ماه /// public TimeSpan EmployeeMandatoryHours { get; set; } public bool HolidayWorking { get; set; } public string ShiftWork { get; set; } /// /// محاسبه اضافه کار در بیمه /// public bool HasInsuranceChekoutOverTime {get; set; } public List GroupedRollCalls { get; set; } public TimeSpan TotalWorkingTimeSpan { get; set; } public TimeSpan TotalBreakTimeSpan { get; set; } public TimeSpan TotalPresentTimeSpan { get; set; } public TimeSpan TotalPaidLeave { get; set; } public TimeSpan TotalSickLeave { get; set; } public bool HasLeft { get; set; } /// /// دستمزد روزانه خام بعد از تاثیر ساعت کار /// public double DailySalaryAffected { get; set; } /// /// پایه سنوات بعد از تاثیر ساعت کار /// public double BaseYearAffected { get; set; } /// /// دستمزد روزانه قبل از تاثیر ساعت کار /// public double DailySalaryUnAffected { get; set; } /// /// دستمزد روزانه دریافت شده از سمت فرانت /// public string DailySalaryUnAffectedStr { get; set; } /// /// مزد سالانه نرمال دریافت از سمت فرانت /// public string NormalDailyWage { get; set; } /// /// پایه سنوات قبل از تاثیر ساعت کار /// public double BaseYearUnAffected { get; set; } }