Beispiel #1
0
 public static EngineLeaseOrderLineDTO CreateEngineLeaseOrderLineDTO(int ID, decimal unitPrice, int amount, decimal discount, global::System.DateTime estimateDeliveryDate, decimal totalLine, int orderId, int contractEngineId)
 {
     EngineLeaseOrderLineDTO engineLeaseOrderLineDTO = new EngineLeaseOrderLineDTO();
     engineLeaseOrderLineDTO.Id = ID;
     engineLeaseOrderLineDTO.UnitPrice = unitPrice;
     engineLeaseOrderLineDTO.Amount = amount;
     engineLeaseOrderLineDTO.Discount = discount;
     engineLeaseOrderLineDTO.EstimateDeliveryDate = estimateDeliveryDate;
     engineLeaseOrderLineDTO.TotalLine = totalLine;
     engineLeaseOrderLineDTO.OrderId = orderId;
     engineLeaseOrderLineDTO.ContractEngineId = contractEngineId;
     return engineLeaseOrderLineDTO;
 }
Beispiel #2
0
 public static EngineLeaseOrderLineDTO CreateEngineLeaseOrderLineDTO(int ID, decimal unitPrice, int amount, decimal discount, global::System.DateTime estimateDeliveryDate, int contractEngineId, int engineMaterialId, int status)
 {
     EngineLeaseOrderLineDTO engineLeaseOrderLineDTO = new EngineLeaseOrderLineDTO();
     engineLeaseOrderLineDTO.Id = ID;
     engineLeaseOrderLineDTO.UnitPrice = unitPrice;
     engineLeaseOrderLineDTO.Amount = amount;
     engineLeaseOrderLineDTO.Discount = discount;
     engineLeaseOrderLineDTO.EstimateDeliveryDate = estimateDeliveryDate;
     engineLeaseOrderLineDTO.ContractEngineId = contractEngineId;
     engineLeaseOrderLineDTO.EngineMaterialId = engineMaterialId;
     engineLeaseOrderLineDTO.Status = status;
     return engineLeaseOrderLineDTO;
 }