add models generation and josn print
This commit is contained in:
18
app/model/prestadb/ps_cart_rule_group.go
Normal file
18
app/model/prestadb/ps_cart_rule_group.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// 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 TableNamePsCartRuleGroup = "ps_cart_rule_group"
|
||||
|
||||
// PsCartRuleGroup mapped from table <ps_cart_rule_group>
|
||||
type PsCartRuleGroup struct {
|
||||
IDCartRule int32 `gorm:"column:id_cart_rule;primaryKey" json:"id_cart_rule"`
|
||||
IDGroup int32 `gorm:"column:id_group;primaryKey" json:"id_group"`
|
||||
}
|
||||
|
||||
// TableName PsCartRuleGroup's table name
|
||||
func (*PsCartRuleGroup) TableName() string {
|
||||
return TableNamePsCartRuleGroup
|
||||
}
|
||||
Reference in New Issue
Block a user