111 lines
4.4 KiB
C#
111 lines
4.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.Metrics;
|
|
using _0_Framework.Application;
|
|
using _0_Framework.Domain;
|
|
using Company.Domain.TaxLeftWorkItemAgg;
|
|
using Company.Domain.WorkshopAgg;
|
|
using CompanyManagment.App.Contracts.SmsResult;
|
|
|
|
namespace Company.Domain.TaxLeftWorkCategoryAgg;
|
|
|
|
public class TaxLeftWorkCategory : EntityBase
|
|
{
|
|
public TaxLeftWorkCategory(string retirementDate, string jobTitle, string jobCategoryCode, long jobCategoryId,
|
|
string typeOfEmployment, string employmentLocationStatus, string typeOfInsurance, string insuranceName,
|
|
string insuranceBranch, string taxExempt, string budgetLawExceptions, string paymentType, string currencyType,
|
|
string exchangeRate, long workshopId, string workshopName, long employeeId, string employeeName, string country)
|
|
{
|
|
RetirementDate = retirementDate;
|
|
JobTitle = jobTitle;
|
|
JobCategoryCode = jobCategoryCode;
|
|
JobCategoryId = jobCategoryId;
|
|
TypeOfEmployment = typeOfEmployment;
|
|
EmploymentLocationStatus = employmentLocationStatus;
|
|
TypeOfInsurance = typeOfInsurance;
|
|
InsuranceName = insuranceName;
|
|
InsuranceBranch = insuranceBranch;
|
|
TaxExempt = taxExempt;
|
|
BudgetLawExceptions = budgetLawExceptions;
|
|
PaymentType = paymentType;
|
|
CurrencyType = currencyType;
|
|
ExchangeRate = exchangeRate;
|
|
WorkshopId = workshopId;
|
|
WorkshopName = workshopName;
|
|
EmployeeId = employeeId;
|
|
EmployeeName = employeeName;
|
|
Country = country;
|
|
}
|
|
|
|
//public TaxLeftWorkCategory()
|
|
//{
|
|
// TaxLeftWorkItemList = new List<TaxLeftWorkItem>();
|
|
//}
|
|
//آی دی کارگاه
|
|
public long WorkshopId { get; private set; }
|
|
//نام کارگاه
|
|
public string WorkshopName { get; private set; }
|
|
//آی دی پرسنل
|
|
public long EmployeeId { get; private set; }
|
|
//نام پرسنل
|
|
public string EmployeeName { get; private set; }
|
|
|
|
public string RetirementDate { get; private set; }
|
|
// شغل
|
|
public string JobTitle { get; private set; }
|
|
// رسته
|
|
public string JobCategoryCode { get; private set; }
|
|
// آی دی رسته
|
|
public long JobCategoryId { get; private set; }
|
|
// نوع استخدام
|
|
public string TypeOfEmployment { get; private set; }
|
|
// وضعیت محل خدمت
|
|
public string EmploymentLocationStatus { get; private set; }
|
|
// نوع بیمه
|
|
public string TypeOfInsurance { get; private set; }
|
|
// نام بیمه
|
|
public string InsuranceName { get; private set; }
|
|
// شعبه بیمه
|
|
public string InsuranceBranch { get; private set; }
|
|
// معافیت مالیاتی
|
|
public string TaxExempt { get; private set; }
|
|
// استثنائات قانون بودجه 1403
|
|
public string BudgetLawExceptions { get; private set; }
|
|
// نوع پرداخت
|
|
public string PaymentType { get; private set; }
|
|
//نوع ارز
|
|
public string CurrencyType { get; private set; }
|
|
//کشور
|
|
public string Country { get; private set; }
|
|
//نرخ تسعیر ارز
|
|
public string ExchangeRate { get; private set; }
|
|
public Workshop Workshop { get; set; }
|
|
public List<TaxLeftWorkItem> TaxLeftWorkItemList { get; set; }
|
|
|
|
public void Edit(string retirementDate, string jobTitle, string jobCategoryCode, long jobCategoryId, string typeOfEmployment,
|
|
string employmentLocationStatus, string typeOfInsurance, string insuranceName, string insuranceBranch, string taxExempt,
|
|
string budgetLawExceptions, string paymentType, string currencyType,
|
|
string exchangeRate, long workshopId, string workshopName, long employeeId, string employeeName, string country)
|
|
{
|
|
RetirementDate = retirementDate;
|
|
JobTitle = jobTitle;
|
|
JobCategoryCode = jobCategoryCode;
|
|
JobCategoryId = jobCategoryId;
|
|
TypeOfEmployment = typeOfEmployment;
|
|
EmploymentLocationStatus = employmentLocationStatus;
|
|
TypeOfInsurance = typeOfInsurance;
|
|
InsuranceName = insuranceName;
|
|
InsuranceBranch = insuranceBranch;
|
|
TaxExempt = taxExempt;
|
|
BudgetLawExceptions = budgetLawExceptions;
|
|
PaymentType = paymentType;
|
|
CurrencyType = currencyType;
|
|
ExchangeRate = exchangeRate;
|
|
WorkshopId = workshopId;
|
|
WorkshopName = workshopName;
|
|
EmployeeId = employeeId;
|
|
EmployeeName = employeeName;
|
|
Country = country;
|
|
}
|
|
|
|
} |