add models generation and josn print

This commit is contained in:
2026-03-26 02:22:14 +01:00
parent 7c5a993623
commit af2b276599
319 changed files with 7394 additions and 27 deletions

View File

@@ -0,0 +1,19 @@
// 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 TableNamePsOrderInvoicePayment = "ps_order_invoice_payment"
// PsOrderInvoicePayment mapped from table <ps_order_invoice_payment>
type PsOrderInvoicePayment struct {
IDOrderInvoice int32 `gorm:"column:id_order_invoice;primaryKey" json:"id_order_invoice"`
IDOrderPayment int32 `gorm:"column:id_order_payment;primaryKey;index:order_payment,priority:1" json:"id_order_payment"`
IDOrder int32 `gorm:"column:id_order;not null;index:id_order,priority:1" json:"id_order"`
}
// TableName PsOrderInvoicePayment's table name
func (*PsOrderInvoicePayment) TableName() string {
return TableNamePsOrderInvoicePayment
}