voucher/internal/biz/bo/order_bo.go

50 lines
1.0 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package bo
import (
"time"
"voucher/internal/biz/vo"
)
// OrderBo 领域实体Bo结构字段和模型字段保持一致
type OrderBo struct {
ID uint64
OrderNo string
OutBizNo string
VoucherNo string
ProductNo string
BatchNo string
Account string
Type vo.OrderType
AccountType vo.OrderAccountType
Status vo.OrderStatus
AppID string
MerchantNo string
NotifyUrl string
Channel vo.Channel
Attach string
Remark string
ReceiveSuccessTime *time.Time
LastUseTime *time.Time
CreateTime *time.Time
UpdateTime *time.Time
MiniMum int32
}
type OrderCreateReqBo struct {
OutBizNo string
ProductNo string
Account string
AppID string
Type vo.OrderType
AccountType vo.OrderAccountType
NotifyUrl string
Attach string
}
type FindInBatchesUseBo struct {
Type vo.OrderType
StartTime *time.Time
EndTime *time.Time
}