fix products listing
This commit is contained in:
47
app/model/dbmodel/ps_order_payu_payments.go
Normal file
47
app/model/dbmodel/ps_order_payu_payments.go
Normal file
@@ -0,0 +1,47 @@
|
||||
// Code generated by gormcol. DO NOT EDIT.
|
||||
|
||||
package dbmodel
|
||||
|
||||
import (
|
||||
"git.ma-al.com/goc_marek/gormcol"
|
||||
"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
|
||||
}
|
||||
|
||||
var PsOrderPayuPaymentCols = struct {
|
||||
IDPayuPayment gormcol.Field
|
||||
IDOrder gormcol.Field
|
||||
IDCart gormcol.Field
|
||||
IDSession gormcol.Field
|
||||
ExtOrderID gormcol.Field
|
||||
Status gormcol.Field
|
||||
CreateAt gormcol.Field
|
||||
UpdateAt gormcol.Field
|
||||
}{
|
||||
IDPayuPayment: gormcol.Field{}.Set((&PsOrderPayuPayment{}).TableName(), "id_payu_payment"),
|
||||
IDOrder: gormcol.Field{}.Set((&PsOrderPayuPayment{}).TableName(), "id_order"),
|
||||
IDCart: gormcol.Field{}.Set((&PsOrderPayuPayment{}).TableName(), "id_cart"),
|
||||
IDSession: gormcol.Field{}.Set((&PsOrderPayuPayment{}).TableName(), "id_session"),
|
||||
ExtOrderID: gormcol.Field{}.Set((&PsOrderPayuPayment{}).TableName(), "ext_order_id"),
|
||||
Status: gormcol.Field{}.Set((&PsOrderPayuPayment{}).TableName(), "status"),
|
||||
CreateAt: gormcol.Field{}.Set((&PsOrderPayuPayment{}).TableName(), "create_at"),
|
||||
UpdateAt: gormcol.Field{}.Set((&PsOrderPayuPayment{}).TableName(), "update_at"),
|
||||
}
|
||||
Reference in New Issue
Block a user