// 统计后台的 models

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:"-"`                     // 状态 0.无效 1.有效
	CreateTime   int64  `gorm:"column:ctime" json:"-"` // 创建时间
	ModifyTime   int64  `gorm:"column:mtime" json:"-"` // 修改时间
	IsSuperAdmin int64  `gorm:"column:is_super_admin" json:"is_super_admin"`
}

func (AdminAccount) TableName() string {
	return "sgj_admin"
}