156 lines
5.3 KiB
C#
156 lines
5.3 KiB
C#
using System.Collections.Generic;
|
||
using System.ComponentModel.DataAnnotations;
|
||
using _0_Framework.Application;
|
||
using AccountManagement.Application.Contracts.Account;
|
||
using CompanyManagment.App.Contracts.Employer;
|
||
using CompanyManagment.App.Contracts.InsuranceJob;
|
||
using CompanyManagment.App.Contracts.WorkshopPlan;
|
||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||
|
||
namespace CompanyManagment.App.Contracts.Workshop;
|
||
|
||
public class CreateWorkshop
|
||
{
|
||
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
|
||
public string WorkshopName { get; set; }
|
||
|
||
public string WorkshopSureName { get; set; }
|
||
public string WorkshopFullName { get; set; }
|
||
|
||
//[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
|
||
public string InsuranceCode { get; set; }
|
||
//[Required(ErrorMessage = "لطفا کارفرما را انتخاب نمایید")]
|
||
//public long EmployerId { get; set; }
|
||
|
||
public string TypeOfOwnership { get; set; }
|
||
|
||
[Required(ErrorMessage = "این مقدار نمی تواند خالی باشد")]
|
||
public string ArchiveCode { get; set; }
|
||
|
||
public string AgentName { get; set; }
|
||
|
||
[RegularExpression("^[0-9]*$", ErrorMessage = "لطفا فقط عدد وارد کنید")]
|
||
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; }
|
||
[Required(ErrorMessage = "لطفا یکی از موارد زیر را انتخاب نمایید")]
|
||
public string TypeOfContract { get; set; }
|
||
|
||
public string ContractTerm { get; set; }
|
||
public string AgreementNumber { get; set; }
|
||
public bool FixedSalary { get; set; }
|
||
public string Population { get; set; }
|
||
public long? InsuranceJobId { get; set; }
|
||
public bool AddBonusesPay { get; set; }
|
||
public bool AddYearsPay { get; set; }
|
||
public bool AddLeavePay { get; set; }
|
||
public string ZoneName { get; set; }
|
||
public bool TotalPaymentHide { get; set; }
|
||
public bool IsClassified { get; set; }
|
||
//نحوه محاسبه مزد مرخصی
|
||
public string ComputeOptions { get; set; }
|
||
//نحوه محاسبه عیدی
|
||
public string BonusesOptions { get; set; }
|
||
|
||
//نحوه محاسبه سنوات
|
||
public string YearsOptions { get; set; }
|
||
//نگهدارنده وضعیت قراردادهای گذشته
|
||
public bool IsOldContract { get; set; }
|
||
//کارگاه هایی که در تعطیلات رسمی باز هستند
|
||
public bool WorkshopHolidayWorking { get; set; }
|
||
public List<EmployerViewModel> Employers { get; set; }
|
||
public List<long> EmployerIdList { get; set; }
|
||
|
||
public CreateWorkshopPlan CreatePlan {get; set; }
|
||
|
||
public List<AccountViewModel> AccountsList { get; set; }
|
||
public List<AccountViewModel> Type { get; set; }
|
||
|
||
#region Pooya
|
||
/// <summary>
|
||
/// قرارداد ارشد
|
||
/// </summary>
|
||
public List<AccountViewModel> JuniorContractAccountsList { get; set; }
|
||
/// <summary>
|
||
/// قرارداد ساده
|
||
/// </summary>
|
||
public List<AccountViewModel> SeniorContractAccountsList { get; set; }
|
||
/// <summary>
|
||
/// بیمه ساده
|
||
/// </summary>
|
||
public List<AccountViewModel> JuniorInsuranceAccountsList { get; set; }
|
||
/// <summary>
|
||
/// بیمه ارشد
|
||
/// </summary>
|
||
public List<AccountViewModel> SeniorInsuranceAccountList { get; set; }
|
||
|
||
#endregion
|
||
|
||
|
||
public List<long> AccountIdsList { get; set; }
|
||
|
||
public SelectList InsuranceJobViewModels { get; set; }
|
||
public List<int> PermissionIds { get; set; }
|
||
public long CurrentAccoutRoleId { get; set; }
|
||
#region Vafa
|
||
public List<AccountViewModel> DeActiveAccounts { get; set; }
|
||
public List<AccountViewModel> ActiveAccounts { get; set; }
|
||
public string HasRollCallFreeVip { get; set; }
|
||
|
||
#endregion
|
||
|
||
public string HasCustomizeCheckoutService { get; set; }
|
||
|
||
/// <summary>
|
||
/// محاسبه اضافه کار فیش حقوقی در لیست بیمه
|
||
/// </summary>
|
||
public bool InsuranceCheckoutOvertime { get; set; }
|
||
/// <summary>
|
||
/// محاسبه حق اولاد در لیست بیمه
|
||
/// </summary>
|
||
public bool InsuranceCheckoutFamilyAllowance { get; set; }
|
||
|
||
/// <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; }
|
||
|
||
/// <summary>
|
||
/// محاسبه نوبت کاری در فیش حقوقی
|
||
/// </summary>
|
||
public bool RotatingShiftCompute { get; set; }
|
||
|
||
/// <summary>
|
||
/// تصفیه حساب بصورت استاتیک محاصبه شود
|
||
/// </summary>
|
||
public bool IsStaticCheckout { get; set; }
|
||
|
||
|
||
} |