Files
Backend-Api/CompanyManagment.App.Contracts/InstitutionContract/GetInstitutionContractListItemsViewModel.cs

138 lines
3.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Collections.Generic;
using System.Security.AccessControl;
using CompanyManagment.App.Contracts.Workshop;
using Microsoft.AspNetCore.Server.HttpSys;
namespace CompanyManagment.App.Contracts.InstitutionContract;
public class GetInstitutionContractListItemsViewModel
{
/// <summary>
/// آیدی
/// </summary>
public long Id { get; set; }
/// <summary>
/// دارای امضا
/// </summary>
public bool HasSigniture { get; set; }
/// <summary>
/// شماره قرارداد
/// </summary>
public string ContractNo { get; set; }
/// <summary>
/// نام معرف
/// </summary>
public string RepresentativeName { get; set; }
/// <summary>
/// نام طرف حساب
/// </summary>
public string ContractingPartyName { get; set; }
/// <summary>
/// شماره کارفرما
/// </summary>
public string ArchiveNo { get; set; }
/// <summary>
/// نام کارفرماها
/// </summary>
public List<string> EmployerNames { get; set; }
/// <summary>
/// تعداد کارگاه
/// </summary>
public int WorkshopsCount { get; set; }
/// <summary>
/// نام کارگاه ها
/// </summary>
public List<string> WorkshopNames { get; set; }
/// <summary>
/// تعداد پرسنل
/// </summary>
public int EmployeesCount { get; set; }
/// <summary>
/// شروع قرارداد
/// </summary>
public string ContractStartFa { get; set; }
/// <summary>
/// پایان قرارداد
/// </summary>
public string ContractEndFa { get; set; }
/// <summary>
/// مبلغ قرارداد
/// </summary>
public double ContractAmount { get; set; }
/// <summary>
/// وضعیت مالی
/// </summary>
public double Balance { get; set; }
/// <summary>
/// وضعیت قرارداد
/// </summary>
public InstitutionContractListStatus ListStatus { get; set; }
/// <summary>
/// آیا منقضی شده است
/// </summary>
public bool IsExpired { get; set; }
public long ContractingPartyId { get; set; }
public List<InstitutionContractListWorkshop> Workshops { get; set; }
public bool IsInPersonContract { get; set; }
public bool IsOldContract { get; set; }
}
public class InstitutionContractListWorkshop
{
public string WorkshopName { get; set; }
public int EmployeeCount { get; set; }
public string Price { get; set; }
public WorkshopServicesViewModel WorkshopServices { get; set; }
}
public class WorkshopServicesViewModel
{
public bool Insurance { get; set; }
public string InsuranceLabel => "ارسال لیست بیمه";
public string InsurancePrice { get; set; }
public bool InsuranceInPerson { get; set; }
public string InsuranceInPersonLabel => "خدمات مستقیم";
public string InsuranceInPersonPrice { get; set; }
public bool Contract { get; set; }
public string ContractLabel => "قرارداد و تصفیه حساب";
public string ContractPrice { get; set; }
public bool ContractInPerson { get; set; }
public string ContractInPersonLabel => "خدمات مستقیم";
public string ContractInPersonPrice { get; set; }
public bool RollCall { get; set; }
public string RollCallLabel => "ساعت حضور و غیاب";
public string RollCallPrice { get; set; }
public bool RollCallInPerson { get; set; }
public string RollCallInPersonLabel => "خدمات مستقیم";
public string RollCallInPersonPrice { get; set; }
public bool CustomizeCheckout { get; set; }
public string CustomizeCheckoutLabel => "فیش غیر رسمی";
public string CustomizeCheckoutPrice { get; set; }
}