Files
Backend-Api/CompanyManagment.App.Contracts/Workshop/WorkshopViewModel.cs

111 lines
3.5 KiB
C#

using System.Collections.Generic;
using _0_Framework.Application;
using CompanyManagment.App.Contracts.Employee;
using CompanyManagment.App.Contracts.Employer;
using CompanyManagment.App.Contracts.LeftWork;
using CompanyManagment.App.Contracts.LeftWorkInsurance;
namespace CompanyManagment.App.Contracts.Workshop;
public class WorkshopViewModel
{
public long Id { get; set; }
public string WorkshopName { get; set; }
public string WorkshopSureName { get; set; }
public string WorkshopFullName { get; set; }
public string InsuranceCode { get; set; }
public string EmployerName { get; set; }
public string TypeOfOwnership { get; set; }
public string ArchiveCode { get; set; }
public string AgentName { get; set; }
public string AgentPhone { get; set; }
public string State { get; set; }
public string City { get; set; }
public string Address { get; set; }
public string TypeOfInsuranceSend { get; set; }
public string TypeOfContract { get; set; }
public long EmpId { get; set; }
public string ContractTerm { get; set; }
public string IsActiveString { get; set; }
public string AgreementNumber { get; set; }
public bool FixedSalary { get; set; }
public string Population { get; set; }
public long? InsuranceJobId { get; set; }
public string ZoneName { get; set; }
public string SearchResultTitle { get; set; }
public bool TotalPaymentHide { get; set; }
public bool HasLeftwork { get; set; }
public bool HasBlockContractingParty { get; set; }
public bool IsClassified { get; set; }
public List<EmployerViewModel> EmpList { get; set; }
public List<EmployeeViewModel> EmployeeList { get; set; }
public List<LeftWorkViewModel> ContractLeftWorks { get; set; }
public List<LeftWorkViewModel> CheckoutLeftWorks { get; set; }
public List<LeftWorkInsuranceViewModel> InsuranceLeftWorks { get; set; }
public List<long> LeftWorkIds { get; set; }
public List<long> InsuranceLeftWorkIds { get; set; }
public long ContractingPartId { get; set; }
public int PersonnelCount { get; set; }
//نحوه محاسبه مزد مرخصی
public string ComputeOptions { get; set; }
//نحوه محاسبه عیدی
public string BonusesOptions { get; set; }
//نحوه محاسبه سنوات
public string YearsOptions { get; set; }
//نگهدارنده وضعیت قراردادهای گذشته
public bool IsOldContract { get; set; }
public string ActivePlan { get; set; }
public string RollCallServiceDeadline { get; set; }
public string RollCallServicePersonnelActive { get; set; }
public bool WorkshopHolidayWorking { get; set; }
#region Mahan
public string Slug { get; set; }
#endregion
#region Vafa
public string HasRollCallFreeVip { get; set; }
#endregion
/// <summary>
/// ایجاد قرارداد
/// </summary>
public bool CreateContract { get; set; }
/// <summary>
/// امضاء قراداد
/// </summary>
public bool SignContract { get; set; }
/// <summary>
/// ایجات تصفیه حساب
/// </summary>
public bool CreateCheckout { get; set; }
/// <summary>
/// امضاء تصفیه حساب
/// </summary>
public bool SignCheckout { get; set; }
/// <summary>
/// اگر قرارداد بیش از یک ماه باشد و گزینه انتخاب شده منتهی به پایان سال باشد
/// این آیتم
/// True
/// است
/// </summary>
public IsActive CutContractEndOfYear { get; set; }
}