예제 #1
0
        protected CenterCost()
        {
            CostSubjectInfo t = new CostSubjectInfo("2", "32", "32");

            _CenterCostUses            = new CenterCostUse(1, "34", "34", "43", CostStaus.Frozen, t);
            _CenterCostBehaviorRecords = new CenterCostBehaviorRecord();
        }
 public CenterCostUse(decimal sumQuota, string orderNum, string fromPool, string targetPool, CostStaus state, CostSubjectInfo SostSubjectInfo)
 {
     _sumQuota        = sumQuota;
     _orderNum        = orderNum ?? throw new ArgumentNullException(nameof(orderNum));
     _fromPool        = fromPool ?? throw new ArgumentNullException(nameof(fromPool));
     _targetPool      = targetPool ?? throw new ArgumentNullException(nameof(targetPool));
     _state           = state;
     costSubjectInfos = SostSubjectInfo;
 }