Files
b2b/app/model/prestadb/ps_customized_data.go

24 lines
993 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 TableNamePsCustomizedDatum = "ps_customized_data"
// PsCustomizedDatum mapped from table <ps_customized_data>
type PsCustomizedDatum struct {
IDCustomization int32 `gorm:"column:id_customization;primaryKey" json:"id_customization"`
Type bool `gorm:"column:type;primaryKey" json:"type"`
Index int32 `gorm:"column:index;primaryKey" json:"index"`
Value string `gorm:"column:value;not null" json:"value"`
IDModule int32 `gorm:"column:id_module;not null" json:"id_module"`
Price float64 `gorm:"column:price;not null;default:0.000000" json:"price"`
Weight float64 `gorm:"column:weight;not null;default:0.000000" json:"weight"`
}
// TableName PsCustomizedDatum's table name
func (*PsCustomizedDatum) TableName() string {
return TableNamePsCustomizedDatum
}