1234567891011121314151617 |
-
-
- package admin_models
-
- type AdminAccount struct {
- Id int `gorm:"PRIMARY_KEY;AUTO_INCREMENT" json:"id"`
- Account string `json:"account"`
- Pwd string `json:"-"`
- Status int8 `json:"-"`
- CreateTime int64 `gorm:"column:ctime" json:"-"`
- ModifyTime int64 `gorm:"column:mtime" json:"-"`
- }
-
- func (AdminAccount) TableName() string {
- return "sgj_admin"
- }
|