20 lines
627 B
Go
20 lines
627 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 TableNamePsCmsRole = "ps_cms_role"
|
|
|
|
// PsCmsRole mapped from table <ps_cms_role>
|
|
type PsCmsRole struct {
|
|
IDCmsRole int32 `gorm:"column:id_cms_role;primaryKey;autoIncrement:true" json:"id_cms_role"`
|
|
Name string `gorm:"column:name;not null;uniqueIndex:name,priority:1" json:"name"`
|
|
IDCms int32 `gorm:"column:id_cms;primaryKey" json:"id_cms"`
|
|
}
|
|
|
|
// TableName PsCmsRole's table name
|
|
func (*PsCmsRole) TableName() string {
|
|
return TableNamePsCmsRole
|
|
}
|