add models generation and josn print
This commit is contained in:
21
app/model/prestadb/ps_inpost_cart_choice.go
Normal file
21
app/model/prestadb/ps_inpost_cart_choice.go
Normal file
@@ -0,0 +1,21 @@
|
||||
// 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 TableNamePsInpostCartChoice = "ps_inpost_cart_choice"
|
||||
|
||||
// PsInpostCartChoice mapped from table <ps_inpost_cart_choice>
|
||||
type PsInpostCartChoice struct {
|
||||
IDCart int32 `gorm:"column:id_cart;primaryKey" json:"id_cart"`
|
||||
Service string `gorm:"column:service;not null" json:"service"`
|
||||
Email *string `gorm:"column:email" json:"email"`
|
||||
Phone *string `gorm:"column:phone" json:"phone"`
|
||||
Point *string `gorm:"column:point" json:"point"`
|
||||
}
|
||||
|
||||
// TableName PsInpostCartChoice's table name
|
||||
func (*PsInpostCartChoice) TableName() string {
|
||||
return TableNamePsInpostCartChoice
|
||||
}
|
||||
Reference in New Issue
Block a user