39 lines
1.3 KiB
C#
39 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using _0_Framework.Domain;
|
|
|
|
namespace Company.Domain.EmployeeComputeOptionsAgg
|
|
{
|
|
public class EmployeeComputeOptions : EntityBase
|
|
{
|
|
public EmployeeComputeOptions(long workshopId, long employeeId, string computeOptions, string bonusesOptions, string yearsOptions)
|
|
{
|
|
WorkshopId = workshopId;
|
|
EmployeeId = employeeId;
|
|
ComputeOptions = computeOptions;
|
|
BonusesOptions = bonusesOptions;
|
|
YearsOptions = yearsOptions;
|
|
}
|
|
|
|
public long WorkshopId { get; private set;}
|
|
public long EmployeeId { get; private set;}
|
|
|
|
//نحوه محاسبه مزد مرخصی
|
|
public string ComputeOptions { get; private set; }
|
|
//نحوه محاسبه عیدی
|
|
public string BonusesOptions { get; private set; }
|
|
//نحوه محاسبه سنوات
|
|
public string YearsOptions { get; private set; }
|
|
|
|
public void Edit(string computeOptions, string bonusesOptions, string yearsOptions)
|
|
{
|
|
ComputeOptions = computeOptions;
|
|
BonusesOptions = bonusesOptions;
|
|
YearsOptions = yearsOptions;
|
|
}
|
|
}
|
|
}
|