factroy store
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package dao
|
||||
|
||||
import "lone-services/pkg/utils"
|
||||
|
||||
type SalesPersonHistoryCreate struct {
|
||||
Id int64 `json:"id" gorm:"id"`
|
||||
StoreId int64 `json:"store_id" gorm:"store_id"` // 门店ID
|
||||
SalesPersonId int64 `json:"sales_person_id" gorm:"sales_person_id"` // 关联销售员的id
|
||||
AdminId int64 `json:"admin_id" gorm:"admin_id"` // 修改人,0 为系统
|
||||
}
|
||||
|
||||
type SalesPersonHistoryInfo struct {
|
||||
Id int64 `json:"id" gorm:"id"`
|
||||
StoreId int64 `json:"store_id" gorm:"store_id"` // 门店ID
|
||||
SalesPersonId int64 `json:"sales_person_id" gorm:"sales_person_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"`
|
||||
}
|
||||
Reference in New Issue
Block a user