// 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 TableNamePsOrderPayment = "ps_order_payment" // PsOrderPayment mapped from table type PsOrderPayment struct { IDOrderPayment int32 `gorm:"column:id_order_payment;primaryKey;autoIncrement:true" json:"id_order_payment"` OrderReference *string `gorm:"column:order_reference;index:order_reference,priority:1" json:"order_reference"` IDCurrency int32 `gorm:"column:id_currency;not null" json:"id_currency"` Amount float64 `gorm:"column:amount;not null" json:"amount"` PaymentMethod string `gorm:"column:payment_method;not null" json:"payment_method"` ConversionRate float64 `gorm:"column:conversion_rate;not null;default:1.000000" json:"conversion_rate"` TransactionID *string `gorm:"column:transaction_id" json:"transaction_id"` CardNumber *string `gorm:"column:card_number" json:"card_number"` CardBrand *string `gorm:"column:card_brand" json:"card_brand"` CardExpiration *string `gorm:"column:card_expiration" json:"card_expiration"` CardHolder *string `gorm:"column:card_holder" json:"card_holder"` DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"` IDPaymentModule int32 `gorm:"column:id_payment_module;not null" json:"id_payment_module"` } // TableName PsOrderPayment's table name func (*PsOrderPayment) TableName() string { return TableNamePsOrderPayment }