Files
lone-services/services/analysis/internal/dao/authorize.go
T
zzw 46d3f672bf
CI / changes (push) Successful in 1m30s
CI / ad (push) Successful in 31s
CI / admin (push) Successful in 24s
CI / bff (push) Successful in 31s
CI / chore (push) Successful in 27s
CI / equipment (push) Successful in 21s
CI / express (push) Successful in 23s
CI / factory (push) Successful in 21s
CI / message (push) Successful in 21s
CI / order (push) Successful in 22s
CI / payment (push) Successful in 20s
CI / percutaneous (push) Successful in 20s
CI / product (push) Successful in 20s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / support (push) Successful in 20s
CI / task (push) Successful in 19s
CI / user (push) Successful in 21s
CI / wecom (push) Successful in 22s
feat: device info and bind
2026-10-16 15:36:17 +08:00

23 lines
828 B
Go

package dao
import "lone-services/pkg/utils"
type UserStoreAuth struct {
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
UserId int64 `gorm:"column:user_id" json:"user_id"`
StoreId int64 `gorm:"column:store_id" json:"store_id"`
ValidityTime utils.CustomTime `gorm:"column:validity_time" json:"validity_time"`
Status uint8 `gorm:"column:status" json:"status"`
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
}
type StoreAuthItem struct {
Id int64 `json:"id"`
StoreId int64 `json:"store_id"`
Name string `json:"name"`
Address string `json:"address"`
ValidityTime string `json:"validity_time"`
CreatedAt string `json:"created_at"`
Status int `json:"status"`
}