b6cc44140f
CI / changes (push) Successful in 39s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 0s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 0s
19 lines
813 B
Go
19 lines
813 B
Go
package dao
|
|
|
|
import "lone-services/pkg/utils"
|
|
|
|
type SaleChangeHistoryCreate struct {
|
|
Id int64 `json:"id" gorm:"id"`
|
|
StoreId int64 `json:"store_id" gorm:"store_id"` // 门店ID
|
|
SaleId int64 `json:"sale_id" gorm:"sale_id"` // 关联销售员的id
|
|
AdminId int64 `json:"admin_id" gorm:"admin_id"` // 修改人,0 为系统
|
|
}
|
|
|
|
type SaleChangeHistoryInfo struct {
|
|
Id int64 `json:"id" gorm:"id"`
|
|
StoreId int64 `json:"store_id" gorm:"store_id"` // 门店ID
|
|
SaleId int64 `json:"sale_id" gorm:"sale_id"` // 关联销售员的id
|
|
AdminId int64 `json:"admin_id" gorm:"admin_id"` // 修改人,0 为系统
|
|
CreateTime utils.CustomTime `gorm:"column:create_time;type:datetime;default:CURRENT_TIMESTAMP;comment:添加时间" json:"create_time"`
|
|
}
|