...
|
...
|
@@ -7,25 +7,25 @@ import ( |
|
|
|
|
|
func TransformToCreditAccountDomainModelFromPgModels(creditAccountModel *models.CreditAccount) (*domain.CreditAccount, error) {
|
|
|
return &domain.CreditAccount{
|
|
|
CreditAccountId: creditAccountModel.CreditAccountId,
|
|
|
ActuallyPaidAmount: creditAccountModel.ActuallyPaidAmount,
|
|
|
CreditAccountOrderNum: creditAccountModel.CreditAccountOrderNum,
|
|
|
PaymentStatus: creditAccountModel.PaymentStatus,
|
|
|
PaymentTime: creditAccountModel.PaymentTime,
|
|
|
SettlementAmount: creditAccountModel.SettlementAmount,
|
|
|
SettlementTime: creditAccountModel.SettlementTime,
|
|
|
CooperationContractNumber: creditAccountModel.CooperationContractNumber,
|
|
|
Participator: creditAccountModel.Participator,
|
|
|
ParticipateType: creditAccountModel.ParticipateType,
|
|
|
AccountDetail: creditAccountModel.AccountDetail,
|
|
|
PaymentDocumentAttachment: creditAccountModel.PaymentDocumentAttachment,
|
|
|
Org: creditAccountModel.Org,
|
|
|
Company: creditAccountModel.Company,
|
|
|
Operator: creditAccountModel.Operator,
|
|
|
OperateTime: creditAccountModel.OperateTime,
|
|
|
CreatedAt: creditAccountModel.CreatedAt,
|
|
|
DeletedAt: creditAccountModel.DeletedAt,
|
|
|
UpdatedAt: creditAccountModel.UpdatedAt,
|
|
|
Remarks: creditAccountModel.Remarks,
|
|
|
CreditAccountId: creditAccountModel.CreditAccountId,
|
|
|
ActuallyPaidAmount: creditAccountModel.ActuallyPaidAmount,
|
|
|
CreditAccountOrderNum: creditAccountModel.CreditAccountOrderNum,
|
|
|
PaymentStatus: creditAccountModel.PaymentStatus,
|
|
|
PaymentTime: creditAccountModel.PaymentTime,
|
|
|
SettlementAmount: creditAccountModel.SettlementAmount,
|
|
|
SettlementTime: creditAccountModel.SettlementTime,
|
|
|
CooperationContractNumber: creditAccountModel.CooperationContractNumber,
|
|
|
Participator: creditAccountModel.Participator,
|
|
|
ParticipateType: creditAccountModel.ParticipateType,
|
|
|
AccountDetail: creditAccountModel.AccountDetail,
|
|
|
PaymentDocumentAttachments: creditAccountModel.PaymentDocumentAttachments,
|
|
|
Org: creditAccountModel.Org,
|
|
|
Company: creditAccountModel.Company,
|
|
|
Operator: creditAccountModel.Operator,
|
|
|
OperateTime: creditAccountModel.OperateTime,
|
|
|
CreatedAt: creditAccountModel.CreatedAt,
|
|
|
DeletedAt: creditAccountModel.DeletedAt,
|
|
|
UpdatedAt: creditAccountModel.UpdatedAt,
|
|
|
Remarks: creditAccountModel.Remarks,
|
|
|
}, nil
|
|
|
} |
...
|
...
|
|