order_static.go 1.8 KB
package domain

//type OrderTodayStatic struct {
//	TodayIntentionQuantity int `json:"todayIntentionQuantity"` //今日新增意向订单
//	TodayIntentionMoney    int `json:"todayIntentionMoney"`    //今日新增意向订单金额
//	TodayRealQuantity      int `json:"todayRealQuantity"`      //今日新增实发订单
//	TodayRealMoney         int `json:"todayRealMoney"`         //今日新增实发订单金额
//	//CumulativeQuantity     int `json:"cumulativeQuantity"`     //累计实发订单
//	//CumulativeMoney        int `json:"cumulativeMoney"`        //累计实发订单金额
//}
////实发订单统计
//type OrderRealStatic struct {
//	CumulativeQuantity     int `json:"cumulativeQuantity"`     //累计实发订单
//	CumulativeMoney        int `json:"cumulativeMoney"`        //累计实发订单金额
//}
////意向订单统计
//type OrderIntentionStatic struct {
//	CumulativeQuantity     int `json:"cumulativeQuantity"`     //累计意向订单
//	CumulativeMoney        int `json:"cumulativeMoney"`                 //累计意向订单金额
//}

type OrderStatic struct {
	CumulativeQuantity int `json:"cumulativeQuantity"` //累计数量
	CumulativeMoney    int `json:"cumulativeMoney"`    //累计金额
}

type OrderStaticQuery struct {
	PartnerId   int64 `json:"partnerId,omitempty"`
	BeginTime   int64 `json:"beginTime,omitempty"`
	EndTime     int64 `json:"endTime,omitempty"`
	OrderStatus int   `json:"orderStatus,omitempty"`
	OrderType   int   `json:"orderType,omitempty"`
}

type DividendOrdersQuery struct {
	DetailAction   int   `json:"detailAction"`   //明细类型(0已收明细、1未收明细)
	DividendAction int   `json:"dividendAction"` //分红类型(0累计分红、1分红支出)
	StartTime      int64 `json:"startTime" valid:"Required"`
	EndTime        int64 `json:"endTime" valid:"Required"`
}