add models generation and josn print
This commit is contained in:
22
app/model/prestadb/ps_mailalert_customer_oos.go
Normal file
22
app/model/prestadb/ps_mailalert_customer_oos.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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 TableNamePsMailalertCustomerOo = "ps_mailalert_customer_oos"
|
||||
|
||||
// PsMailalertCustomerOo mapped from table <ps_mailalert_customer_oos>
|
||||
type PsMailalertCustomerOo struct {
|
||||
IDCustomer int32 `gorm:"column:id_customer;primaryKey" json:"id_customer"`
|
||||
CustomerEmail string `gorm:"column:customer_email;primaryKey" json:"customer_email"`
|
||||
IDProduct int32 `gorm:"column:id_product;primaryKey" json:"id_product"`
|
||||
IDProductAttribute int32 `gorm:"column:id_product_attribute;primaryKey" json:"id_product_attribute"`
|
||||
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
|
||||
IDLang int32 `gorm:"column:id_lang;not null" json:"id_lang"`
|
||||
}
|
||||
|
||||
// TableName PsMailalertCustomerOo's table name
|
||||
func (*PsMailalertCustomerOo) TableName() string {
|
||||
return TableNamePsMailalertCustomerOo
|
||||
}
|
||||
Reference in New Issue
Block a user