Files
Backend-Api/Company.Domain/InsurancJobAgg/InsuranceJob.cs
2024-07-05 21:36:15 +03:30

37 lines
1.1 KiB
C#

using System.Collections.Generic;
using _0_Framework.Domain;
using Company.Domain.InsuranceJobItemAgg;
namespace Company.Domain.InsurancJobAgg;
public class InsuranceJob : EntityBase
{
public InsuranceJob(string insuranceJobTitle, long yearlySalaryId, string economicCode, string year)
{
InsuranceJobTitle = insuranceJobTitle;
YearlySalaryId = yearlySalaryId;
EconomicCode = economicCode;
Year = year;
}
public InsuranceJob()
{
InsuranceJobItemList = new List<InsuranceJobItem>();
}
public string InsuranceJobTitle{ get; private set; }
public long YearlySalaryId { get; private set; }
public string EconomicCode { get; private set; }
public string Year { get; private set; }
public List<InsuranceJobItem> InsuranceJobItemList { get; set; }
public void Edit(string insuranceJobTitle, long yearlySalaryId, string economicCode, string year)
{
InsuranceJobTitle = insuranceJobTitle;
YearlySalaryId = yearlySalaryId;
EconomicCode = economicCode;
Year = year;
}
}