19 lines
681 B
Go
19 lines
681 B
Go
// 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 prestadb
|
|
|
|
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
|
|
}
|