示例#1
0
文件: Reference.cs 项目: unicloud/FRP
 public static EngineMaintainInvoiceDTO CreateEngineMaintainInvoiceDTO(int engineMaintainInvoiceId, int type, global::System.DateTime invoiceDate, global::System.DateTime inMaintainTime, global::System.DateTime outMaintainTime, decimal invoiceValue, decimal paidAmount, global::System.DateTime createDate, bool isValid, bool isCompleted, int status, global::System.Collections.ObjectModel.ObservableCollection<MaintainInvoiceLineDTO> maintainInvoiceLines, global::System.Guid documentId, int supplierId, int currencyId)
 {
     EngineMaintainInvoiceDTO engineMaintainInvoiceDTO = new EngineMaintainInvoiceDTO();
     engineMaintainInvoiceDTO.EngineMaintainInvoiceId = engineMaintainInvoiceId;
     engineMaintainInvoiceDTO.Type = type;
     engineMaintainInvoiceDTO.InvoiceDate = invoiceDate;
     engineMaintainInvoiceDTO.InMaintainTime = inMaintainTime;
     engineMaintainInvoiceDTO.OutMaintainTime = outMaintainTime;
     engineMaintainInvoiceDTO.InvoiceValue = invoiceValue;
     engineMaintainInvoiceDTO.PaidAmount = paidAmount;
     engineMaintainInvoiceDTO.CreateDate = createDate;
     engineMaintainInvoiceDTO.IsValid = isValid;
     engineMaintainInvoiceDTO.IsCompleted = isCompleted;
     engineMaintainInvoiceDTO.Status = status;
     if ((maintainInvoiceLines == null))
     {
         throw new global::System.ArgumentNullException("maintainInvoiceLines");
     }
     engineMaintainInvoiceDTO.MaintainInvoiceLines = maintainInvoiceLines;
     engineMaintainInvoiceDTO.DocumentId = documentId;
     engineMaintainInvoiceDTO.SupplierId = supplierId;
     engineMaintainInvoiceDTO.CurrencyId = currencyId;
     return engineMaintainInvoiceDTO;
 }
示例#2
0
文件: Reference.cs 项目: unicloud/FRP
 public void AddToEngineMaintainInvoices(EngineMaintainInvoiceDTO engineMaintainInvoiceDTO)
 {
     base.AddObject("EngineMaintainInvoices", engineMaintainInvoiceDTO);
 }