// 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 TableNamePsOrderInvoice = "ps_order_invoice" // PsOrderInvoice mapped from table type PsOrderInvoice struct { IDOrderInvoice int32 `gorm:"column:id_order_invoice;primaryKey;autoIncrement:true" json:"id_order_invoice"` IDOrder int32 `gorm:"column:id_order;not null;index:id_order,priority:1" json:"id_order"` Number int32 `gorm:"column:number;not null" json:"number"` DeliveryNumber int32 `gorm:"column:delivery_number;not null" json:"delivery_number"` DeliveryDate *time.Time `gorm:"column:delivery_date" json:"delivery_date"` TotalDiscountTaxExcl float64 `gorm:"column:total_discount_tax_excl;not null;default:0.000000" json:"total_discount_tax_excl"` TotalDiscountTaxIncl float64 `gorm:"column:total_discount_tax_incl;not null;default:0.000000" json:"total_discount_tax_incl"` TotalPaidTaxExcl float64 `gorm:"column:total_paid_tax_excl;not null;default:0.000000" json:"total_paid_tax_excl"` TotalPaidTaxIncl float64 `gorm:"column:total_paid_tax_incl;not null;default:0.000000" json:"total_paid_tax_incl"` TotalProducts float64 `gorm:"column:total_products;not null;default:0.000000" json:"total_products"` TotalProductsWt float64 `gorm:"column:total_products_wt;not null;default:0.000000" json:"total_products_wt"` TotalShippingTaxExcl float64 `gorm:"column:total_shipping_tax_excl;not null;default:0.000000" json:"total_shipping_tax_excl"` TotalShippingTaxIncl float64 `gorm:"column:total_shipping_tax_incl;not null;default:0.000000" json:"total_shipping_tax_incl"` ShippingTaxComputationMethod int32 `gorm:"column:shipping_tax_computation_method;not null" json:"shipping_tax_computation_method"` TotalWrappingTaxExcl float64 `gorm:"column:total_wrapping_tax_excl;not null;default:0.000000" json:"total_wrapping_tax_excl"` TotalWrappingTaxIncl float64 `gorm:"column:total_wrapping_tax_incl;not null;default:0.000000" json:"total_wrapping_tax_incl"` ShopAddress *string `gorm:"column:shop_address" json:"shop_address"` Note *string `gorm:"column:note" json:"note"` DateAdd time.Time `gorm:"column:date_add;not null" json:"date_add"` FinalNumber *int32 `gorm:"column:final_number" json:"final_number"` IDShopCompany *int32 `gorm:"column:id_shop_company" json:"id_shop_company"` } // TableName PsOrderInvoice's table name func (*PsOrderInvoice) TableName() string { return TableNamePsOrderInvoice }