2022-10-09 03:39:33 +00:00
|
|
|
package model
|
|
|
|
|
2022-10-09 06:31:01 +00:00
|
|
|
//go:generate goqueryset -in system.go
|
|
|
|
// gen:qs
|
2022-10-09 03:39:33 +00:00
|
|
|
type Logging struct {
|
|
|
|
Model
|
|
|
|
|
2022-10-09 06:31:01 +00:00
|
|
|
Machine string `json:"machine"`
|
|
|
|
StoreId uint32 `json:"store_id" gorm:"index"` // 门店id
|
|
|
|
OperatorUid uint32 `json:"operator_uid" gorm:"index"`
|
|
|
|
Function string `json:"function"`
|
|
|
|
Event string `json:"event"`
|
|
|
|
Ip string `json:"ip"`
|
2022-10-09 03:39:33 +00:00
|
|
|
}
|
2022-10-09 06:31:01 +00:00
|
|
|
|
|
|
|
const (
|
|
|
|
LoggingFunction = ""
|
|
|
|
)
|