// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" "gorm.io/gorm" ) const TableNameAdminUser = "admin_users" // AdminUser mapped from table type AdminUser struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` RoleID int32 `gorm:"column:role_id" json:"role_id"` UserName string `gorm:"column:user_name" json:"user_name"` PasswordDigest string `gorm:"column:password_digest" json:"password_digest"` Nickname string `gorm:"column:nickname" json:"nickname"` Avatar string `gorm:"column:avatar" json:"avatar"` Status int32 `gorm:"column:status;default:1" json:"status"` Mobile string `gorm:"column:mobile;not null" json:"mobile"` FeishuUnionID string `gorm:"column:feishu_union_id" json:"feishu_union_id"` CreatedAt time.Time `gorm:"column:created_at" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"deleted_at"` } // TableName AdminUser's table name func (*AdminUser) TableName() string { return TableNameAdminUser }