21 lines
670 B
Go
21 lines
670 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 TableNamePsAlias = "ps_alias"
|
|
|
|
// PsAlias mapped from table <ps_alias>
|
|
type PsAlias struct {
|
|
IDAlias int32 `gorm:"column:id_alias;primaryKey;autoIncrement:true" json:"id_alias"`
|
|
Alias string `gorm:"column:alias;not null;uniqueIndex:alias,priority:1" json:"alias"`
|
|
Search string `gorm:"column:search;not null" json:"search"`
|
|
Active bool `gorm:"column:active;not null;default:1" json:"active"`
|
|
}
|
|
|
|
// TableName PsAlias's table name
|
|
func (*PsAlias) TableName() string {
|
|
return TableNamePsAlias
|
|
}
|