37 lines
1.1 KiB
C#
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;
|
|
}
|
|
} |