40 lines
1.4 KiB
C#
40 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
using _0_Framework.Domain;
|
|
using Company.Domain.CrossJobGuildAgg;
|
|
using Company.Domain.CrossJobItemsAgg;
|
|
|
|
namespace Company.Domain.CrossJobAgg;
|
|
|
|
public class CrossJob : EntityBase
|
|
{
|
|
public CrossJob(double salaryRatioUnder, long equivalentRialUnder, double salaryRatioOver, long equivalentRialOver, long crossJobGuildId)
|
|
{
|
|
SalaryRatioUnder = salaryRatioUnder;
|
|
EquivalentRialUnder = equivalentRialUnder;
|
|
SalaryRatioOver = salaryRatioOver;
|
|
EquivalentRialOver = equivalentRialOver;
|
|
CrossJobGuildId = crossJobGuildId;
|
|
}
|
|
|
|
public double SalaryRatioUnder { get; private set; }
|
|
public long EquivalentRialUnder { get; private set; }
|
|
public double SalaryRatioOver { get; private set; }
|
|
public long EquivalentRialOver { get; private set; }
|
|
public long CrossJobGuildId { get; private set; }
|
|
|
|
public CrossJobGuild CrossJobGuild { get; private set; }
|
|
public List<CrossJobItems> CrossJobItemsList { get; private set; }
|
|
|
|
|
|
public void Edit( double salaryRatioUnder, long equivalentRialUnder, double salaryRatioOver, long equivalentRialOver, long crossJobGuildId)
|
|
{
|
|
SalaryRatioUnder = salaryRatioUnder;
|
|
EquivalentRialUnder = equivalentRialUnder;
|
|
SalaryRatioOver = salaryRatioOver;
|
|
EquivalentRialOver = equivalentRialOver;
|
|
CrossJobGuildId = crossJobGuildId;
|
|
|
|
}
|
|
|
|
|
|
} |