36 lines
1.9 KiB
Go
36 lines
1.9 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 TableNamePsOrderSlip = "ps_order_slip"
|
|
|
|
// PsOrderSlip mapped from table <ps_order_slip>
|
|
type PsOrderSlip struct {
|
|
IDOrderSlip int32 `gorm:"column:id_order_slip;primaryKey;autoIncrement:true" json:"id_order_slip"`
|
|
ConversionRate float64 `gorm:"column:conversion_rate;not null;default:1.000000" json:"conversion_rate"`
|
|
IDCustomer int32 `gorm:"column:id_customer;not null;index:order_slip_customer,priority:1" json:"id_customer"`
|
|
IDOrder int32 `gorm:"column:id_order;not null;index:id_order,priority:1" json:"id_order"`
|
|
TotalProductsTaxExcl *float64 `gorm:"column:total_products_tax_excl" json:"total_products_tax_excl"`
|
|
TotalProductsTaxIncl *float64 `gorm:"column:total_products_tax_incl" json:"total_products_tax_incl"`
|
|
TotalShippingTaxExcl *float64 `gorm:"column:total_shipping_tax_excl" json:"total_shipping_tax_excl"`
|
|
TotalShippingTaxIncl *float64 `gorm:"column:total_shipping_tax_incl" json:"total_shipping_tax_incl"`
|
|
ShippingCost int32 `gorm:"column:shipping_cost;not null" json:"shipping_cost"`
|
|
Amount float64 `gorm:"column:amount;not null" json:"amount"`
|
|
ShippingCostAmount float64 `gorm:"column:shipping_cost_amount;not null" json:"shipping_cost_amount"`
|
|
Partial bool `gorm:"column:partial;not null" json:"partial"`
|
|
OrderSlipType bool `gorm:"column:order_slip_type;not null" json:"order_slip_type"`
|
|
DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"`
|
|
DateUpd time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
|
|
}
|
|
|
|
// TableName PsOrderSlip's table name
|
|
func (*PsOrderSlip) TableName() string {
|
|
return TableNamePsOrderSlip
|
|
}
|