123456789101112131415161718192021 |
- // 统计后台的 models
-
- package admin_models
-
- type AdminAccount struct {
- ID int64 `gorm:"column:id" json:"id" form:"id"`
- Name string `gorm:"column:name" json:"name" form:"name"`
- RoleType int64 `gorm:"column:role_type" json:"role_type" form:"role_type"`
- Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
- Password string `gorm:"column:password" json:"password" form:"password"`
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
- IsAdmin int64 `gorm:"column:is_admin" json:"is_admin" form:"is_admin"`
- Status int64 `gorm:"column:status" json:"status" form:"status"`
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
- }
-
- func (AdminAccount) TableName() string {
- return "kyy_charge_admin"
- }
|