Files
kami_backend/internal/model/entity/user.go
2023-11-15 14:31:37 +08:00

22 lines
866 B
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// User is the golang structure for table user.
type User struct {
Id string `json:"id" description:"ID"`
Username string `json:"username" description:"账号"`
Password string `json:"password" description:"密码"`
IsAdmin int `json:"isAdmin" description:"是否是管理员"`
Phone string `json:"phone" description:"手机号"`
CreatedAt *gtime.Time `json:"createdAt" description:""`
UpdatedAt *gtime.Time `json:"updatedAt" description:""`
DeletedAt *gtime.Time `json:"deletedAt" description:""`
}