修改修改公共beans包路径
This commit is contained in:
@@ -3,15 +3,15 @@ package entity
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gitee.com/red-future---jilin-g/common/do"
|
||||
"gitee.com/red-future---jilin-g/common/beans"
|
||||
)
|
||||
|
||||
// OrderStatistics 订单统计数据实体
|
||||
type OrderStatistics struct {
|
||||
do.MongoBaseDO `bson:",inline"`
|
||||
ReportType string `bson:"report_type" json:"report_type"` // 报表类型: daily, monthly, quarterly, yearly
|
||||
ReportDate time.Time `bson:"report_date" json:"report_date"` // 统计日期
|
||||
Period string `bson:"period" json:"period"` // 统计周期描述: 2024-01-01, 2024-01, 2024-Q1, 2024
|
||||
beans.MongoBaseDO `bson:",inline"`
|
||||
ReportType string `bson:"report_type" json:"report_type"` // 报表类型: daily, monthly, quarterly, yearly
|
||||
ReportDate time.Time `bson:"report_date" json:"report_date"` // 统计日期
|
||||
Period string `bson:"period" json:"period"` // 统计周期描述: 2024-01-01, 2024-01, 2024-Q1, 2024
|
||||
|
||||
// 订单基础统计
|
||||
TotalOrders int64 `bson:"total_orders" json:"total_orders"` // 总订单数
|
||||
|
||||
Reference in New Issue
Block a user