/// <summary> /// Constructor /// </summary> /// <param name="billingLine"></param> public MaintenanceBillingLine(MaintenanceBillingLineVO billingLine) { BillingLineID = billingLine.BillingLineID; MaintenanceID = billingLine.MaintenanceID; LineText = billingLine.LineText; Description = billingLine.Description; LineSequance = billingLine.LineSequance; }
/// <summary> /// Transpose model object to value object /// </summary> /// <param name="billingLine">Model maintenance billing line</param> public MaintenanceBillingLineVO Transpose() { MaintenanceBillingLineVO maintenanceBillingLineVO = new MaintenanceBillingLineVO(); maintenanceBillingLineVO.BillingLineID = this.ID; maintenanceBillingLineVO.MaintenanceID = this.MaintenanceID; maintenanceBillingLineVO.LineText = this.LineText; maintenanceBillingLineVO.Description = this.Description; maintenanceBillingLineVO.LineSequance = this.LineSequance; return(maintenanceBillingLineVO); }