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

26 lines
1.2 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
const TableNamePsOrderSlipDetail = "ps_order_slip_detail"
// PsOrderSlipDetail mapped from table <ps_order_slip_detail>
type PsOrderSlipDetail struct {
IDOrderSlip int32 `gorm:"column:id_order_slip;primaryKey" json:"id_order_slip"`
IDOrderDetail int32 `gorm:"column:id_order_detail;primaryKey" json:"id_order_detail"`
ProductQuantity int32 `gorm:"column:product_quantity;not null" json:"product_quantity"`
UnitPriceTaxExcl *float64 `gorm:"column:unit_price_tax_excl" json:"unit_price_tax_excl"`
UnitPriceTaxIncl *float64 `gorm:"column:unit_price_tax_incl" json:"unit_price_tax_incl"`
TotalPriceTaxExcl *float64 `gorm:"column:total_price_tax_excl" json:"total_price_tax_excl"`
TotalPriceTaxIncl *float64 `gorm:"column:total_price_tax_incl" json:"total_price_tax_incl"`
AmountTaxExcl *float64 `gorm:"column:amount_tax_excl" json:"amount_tax_excl"`
AmountTaxIncl *float64 `gorm:"column:amount_tax_incl" json:"amount_tax_incl"`
}
// TableName PsOrderSlipDetail's table name
func (*PsOrderSlipDetail) TableName() string {
return TableNamePsOrderSlipDetail
}