add models generation and josn print
This commit is contained in:
23
app/model/prestadb/ps_customized_data.go
Normal file
23
app/model/prestadb/ps_customized_data.go
Normal file
@@ -0,0 +1,23 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user