예제 #1
0
 public Consumption(LimitConsumptionContainer consumptionContainer, string caseNumber, Guid serviceId, DateTime consumptionDate, Money consumedAmount, int consumedQuantity)
 {
     ConsumptionContainer = consumptionContainer;
     CaseNumber           = caseNumber;
     ServiceId            = serviceId;
     ConsumptionDate      = consumptionDate;
     ConsumedAmount       = consumedAmount;
     ConsumedQuantity     = consumedQuantity;
 }
예제 #2
0
 public Consumption(LimitConsumptionContainer consumptionContainer, CaseServiceCostSplit caseService)
 {
     ConsumptionContainer = consumptionContainer;
     ServiceId            = caseService.CaseServiceId;
     CaseNumber           = caseService.CaseNumber;
     ConsumptionDate      = caseService.Date;
     ConsumedAmount       = caseService.AmountLimitConsumption;
     ConsumedQuantity     = caseService.QtLimitConsumption;
 }