add models generation and josn print
This commit is contained in:
28
app/model/prestadb/ps_order_payu_payments.go
Normal file
28
app/model/prestadb/ps_order_payu_payments.go
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const TableNamePsOrderPayuPayment = "ps_order_payu_payments"
|
||||
|
||||
// PsOrderPayuPayment mapped from table <ps_order_payu_payments>
|
||||
type PsOrderPayuPayment struct {
|
||||
IDPayuPayment int32 `gorm:"column:id_payu_payment;primaryKey;autoIncrement:true" json:"id_payu_payment"`
|
||||
IDOrder int32 `gorm:"column:id_order;not null" json:"id_order"`
|
||||
IDCart int32 `gorm:"column:id_cart;not null" json:"id_cart"`
|
||||
IDSession string `gorm:"column:id_session;not null" json:"id_session"`
|
||||
ExtOrderID string `gorm:"column:ext_order_id;not null" json:"ext_order_id"`
|
||||
Status string `gorm:"column:status;not null" json:"status"`
|
||||
CreateAt *time.Time `gorm:"column:create_at" json:"create_at"`
|
||||
UpdateAt *time.Time `gorm:"column:update_at" json:"update_at"`
|
||||
}
|
||||
|
||||
// TableName PsOrderPayuPayment's table name
|
||||
func (*PsOrderPayuPayment) TableName() string {
|
||||
return TableNamePsOrderPayuPayment
|
||||
}
|
||||
Reference in New Issue
Block a user