// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import "git.ma-al.com/goc_marek/gormcol"

const TableNamePsAuthorizationRole = "ps_authorization_role"

// PsAuthorizationRole mapped from table <ps_authorization_role>
type PsAuthorizationRole struct {
	IDAuthorizationRole int32  `gorm:"column:id_authorization_role;primaryKey;autoIncrement:true" json:"id_authorization_role"`
	Slug                string `gorm:"column:slug;not null;uniqueIndex:slug,priority:1" json:"slug"`
}

// TableName PsAuthorizationRole's table name
func (*PsAuthorizationRole) TableName() string {
	return TableNamePsAuthorizationRole
}

var PsAuthorizationRoleCols = struct {
	IDAuthorizationRole gormcol.Field
	Slug gormcol.Field
}{
	IDAuthorizationRole: gormcol.Field{}.Set((&PsAuthorizationRole{}).TableName(), "id_authorization_role"),
	Slug: gormcol.Field{}.Set((&PsAuthorizationRole{}).TableName(), "slug"),
}
