feat: user info
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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"`
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package dao
|
||||
|
||||
type StoreSkinInfo struct {
|
||||
Id int64 `json:"id"`
|
||||
StoreName string `json:"store_name"`
|
||||
StoreUserName string `json:"store_user_name"`
|
||||
StoreUserMobile string `json:"store_user_mobile"`
|
||||
District string `json:"district"`
|
||||
Address string `json:"address"`
|
||||
StoreImg string `json:"store_img"`
|
||||
StoreContact string `json:"store_contact"`
|
||||
StoreContent string `json:"store_content"`
|
||||
OpenTime string `json:"open_time"`
|
||||
LongitudeWgs84 string `json:"longitude_wgs84"`
|
||||
LatitudeWgs84 string `json:"latitude_wgs84"`
|
||||
LongitudeGcj02 string `json:"longitude_gcj02"`
|
||||
LatitudeGcj02 string `json:"latitude_gcj02"`
|
||||
CreateTime string `json:"create_time"`
|
||||
}
|
||||
|
||||
type StoreUserListItem struct {
|
||||
Id int64 `json:"id"`
|
||||
UserId int64 `json:"user_id"`
|
||||
StoreId int64 `json:"store_id"`
|
||||
Name string `json:"name"`
|
||||
Nickname string `json:"nickname"`
|
||||
Avatar string `json:"avatar"`
|
||||
Mobile string `json:"mobile"`
|
||||
Gender int `json:"gender"`
|
||||
Birthday string `json:"birthday"`
|
||||
Age string `json:"age"`
|
||||
Cover string `json:"cover"`
|
||||
DetectionNumber int `json:"detection_number"`
|
||||
DetectionTime string `json:"detection_time"`
|
||||
}
|
||||
|
||||
type StoreUserRemark struct {
|
||||
UserId int64 `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
Gender int `json:"gender"`
|
||||
Birthday string `json:"birthday"`
|
||||
Tag []string `json:"tag"`
|
||||
}
|
||||
Reference in New Issue
Block a user