// 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 TableNameAdminRolePermission = "admin_role_permission"

// AdminRolePermission mapped from table <admin_role_permission>
type AdminRolePermission struct {
	ID           int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	RoleID       int32 `gorm:"column:role_id;not null" json:"role_id"`
	SystemID     int32 `gorm:"column:system_id;not null" json:"system_id"`
	PermissionID int32 `gorm:"column:permission_id;not null" json:"permission_id"`
}

// TableName AdminRolePermission's table name
func (*AdminRolePermission) TableName() string {
	return TableNameAdminRolePermission
}
