zhangqian
2023-08-11 ae6883ce426727efca4facab973d814ae66c69c2
model/masterOrder.go
@@ -3,7 +3,6 @@
import (
   "aps_crm/pkg/mysqlx"
   "gorm.io/gorm"
   "time"
)
type (
@@ -14,8 +13,8 @@
      ClientId   int       `json:"client_id" gorm:"column:client_id;type:int;comment:客户id"`
      Client     Client    `json:"client" gorm:"foreignKey:ClientId"`
      MemberId   int       `json:"member_id" gorm:"column:member_id;type:int;comment:负责人id"`
      StartTime  time.Time `json:"start_time" gorm:"column:start_time;type:datetime;comment:开始时间"`
      EndTime    time.Time `json:"end_time" gorm:"column:end_time;type:datetime;comment:结束时间"`
      StartTime  *CustomTime `json:"start_time" gorm:"column:start_time;type:datetime;comment:开始时间"`
      EndTime    *CustomTime `json:"end_time" gorm:"column:end_time;type:datetime;comment:结束时间"`
      Money      float64   `json:"money" gorm:"column:money;type:decimal(10,2);comment:总金额"`
      gorm.Model `json:"-"`
   }
@@ -29,7 +28,6 @@
      OrderBy  string
      PageNum  int
      PageSize int
   }
)