Files
b2b/app/model/prestadb/ps_order_payu_payments.go

29 lines
1.1 KiB
Go

// 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
}