21 lines
768 B
Go
21 lines
768 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 TableNamePsAttribute = "ps_attribute"
|
|
|
|
// PsAttribute mapped from table <ps_attribute>
|
|
type PsAttribute struct {
|
|
IDAttribute int32 `gorm:"column:id_attribute;primaryKey;autoIncrement:true" json:"id_attribute"`
|
|
IDAttributeGroup int32 `gorm:"column:id_attribute_group;not null;index:attribute_group,priority:1" json:"id_attribute_group"`
|
|
Color string `gorm:"column:color;not null" json:"color"`
|
|
Position int32 `gorm:"column:position;not null" json:"position"`
|
|
}
|
|
|
|
// TableName PsAttribute's table name
|
|
func (*PsAttribute) TableName() string {
|
|
return TableNamePsAttribute
|
|
}
|