Files
Backend-Api/CompanyManagment.App.Contracts/Checkout/CreateCheckout.cs
2025-09-02 04:33:30 +03:30

194 lines
6.4 KiB
C#

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<string> Yearlist { get; set; }
public List<ContractViweModel> 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<EmployeeViewModel> EmployeeList { get; set; }
public long UserId { get; set; }
public bool HasRollCall { get; set; }
/// <summary>
/// مقدار اضافه کار
/// </summary>
public string OverTimeWorkValue { get; set; }
/// <summary>
/// مقدار شبکاری
/// </summary>
public string OverNightWorkValue { get; set; }
/// <summary>
/// مقدار جمعه کاری
/// </summary>
public string FridayWorkValue { get; set; }
/// <summary>
/// درصد نوبت کاری
/// </summary>
public string RotatingShiftValue { get; set; }
/// <summary>
/// مقدار غیبت
/// </summary>
public string AbsenceValue { get; set; }
/// <summary>
/// تعداد روزهای محاسبه شده برای مزد مرخصی
/// </summary>
public string TotalDayOfLeaveCompute { get; set; }
/// <summary>
/// تعداد روزهای محاسبه شده برای سنوات
/// </summary>
public string TotalDayOfYearsCompute { get; set; }
/// <summary>
/// تعداد روزهای محاسبه شده برای عیدی و پاداش
/// </summary>
public string TotalDayOfBunosesCompute { get; set; }
/// <summary>
/// ساعت موظفی پرسنل برای این ماه
/// </summary>
public TimeSpan EmployeeMandatoryHours { get; set; }
public bool HolidayWorking { get; set; }
public string ShiftWork { get; set; }
/// <summary>
/// محاسبه اضافه کار در بیمه
/// </summary>
public bool HasInsuranceChekoutOverTime {get; set; }
public List<GroupedRollCalls> 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; }
/// <summary>
/// دستمزد روزانه خام بعد از تاثیر ساعت کار
/// </summary>
public double DailySalaryAffected { get; set; }
/// <summary>
/// پایه سنوات بعد از تاثیر ساعت کار
/// </summary>
public double BaseYearAffected { get; set; }
/// <summary>
/// دستمزد روزانه قبل از تاثیر ساعت کار
/// </summary>
public double DailySalaryUnAffected { get; set; }
/// <summary>
/// دستمزد روزانه دریافت شده از سمت فرانت
/// </summary>
public string DailySalaryUnAffectedStr { get; set; }
/// <summary>
/// مزد سالانه نرمال دریافت از سمت فرانت
/// </summary>
public string NormalDailyWage { get; set; }
/// <summary>
/// پایه سنوات قبل از تاثیر ساعت کار
/// </summary>
public double BaseYearUnAffected { get; set; }
}