package bo

import (
	"time"
	"voucher/internal/biz/vo"
)

// OrderBo 领域实体Bo结构，字段和模型字段保持一致
type OrderBo struct {
	ID          uint64
	OrderNo     string
	OutBizNo    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
	CreateTime  *time.Time
	UpdateTime  *time.Time
}

type OrderCreateReqBo struct {
	OutBizNo    string
	ProductNo   string
	Account     string
	AppID       string
	AccountType vo.OrderAccountType
}

type OrderCreateRepBo struct {
	OrderNo string
}
