15a5616308
CI / changes (push) Successful in 1m31s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / aiserver (push) Successful in 0s
CI / analysis (push) Successful in 37s
CI / bff (push) Successful in 18s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 22s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 21s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s
CI / ws (push) Successful in 0s
33 lines
1.6 KiB
Go
33 lines
1.6 KiB
Go
package dao
|
|
|
|
import "lone-services/pkg/utils"
|
|
|
|
type UserRemark struct {
|
|
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
|
|
StoreId int64 `gorm:"column:store_id" json:"store_id"`
|
|
UserId int64 `gorm:"column:user_id" json:"user_id"`
|
|
Name string `gorm:"column:name" json:"name"`
|
|
Gender int8 `gorm:"column:gender" json:"gender"`
|
|
Birthday string `gorm:"column:birthday" json:"birthday"`
|
|
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
|
|
}
|
|
|
|
type UserImageLog struct {
|
|
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
|
|
UserId int64 `gorm:"column:user_id" json:"user_id"`
|
|
DetectionNumber int `gorm:"column:detection_number" json:"detection_number"`
|
|
DetectionTime utils.CustomTime `gorm:"column:detection_time" json:"detection_time"`
|
|
Cover string `gorm:"column:cover" json:"cover"`
|
|
Status uint8 `gorm:"column:status" json:"status"`
|
|
State int8 `gorm:"column:state" json:"state"` // 1检测过一次 2分析中 3有问题 4已退款 5正常
|
|
}
|
|
|
|
type UserImageTag struct {
|
|
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
|
|
StoreId int64 `gorm:"column:store_id" json:"store_id"`
|
|
UserId int64 `gorm:"column:user_id" json:"user_id"`
|
|
Tag string `gorm:"column:tag" json:"tag"`
|
|
Status uint8 `gorm:"column:status" json:"status"`
|
|
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
|
|
}
|