32 lines
1.5 KiB
Go
32 lines
1.5 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"`
|
|
}
|
|
|
|
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"`
|
|
}
|