// 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

const TableNameAdminPermission = "admin_permission"

// AdminPermission mapped from table <admin_permission>
type AdminPermission struct {
	ID   int32  `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	Name string `gorm:"column:name;not null" json:"name"`
	Apis string `gorm:"column:apis" json:"apis"`
}

// TableName AdminPermission's table name
func (*AdminPermission) TableName() string {
	return TableNameAdminPermission
}
