// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import "git.ma-al.com/goc_marek/gormcol"

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
}

var PsOrderSlipDetailCols = struct {
	IDOrderSlip gormcol.Field
	IDOrderDetail gormcol.Field
	ProductQuantity gormcol.Field
	UnitPriceTaxExcl gormcol.Field
	UnitPriceTaxIncl gormcol.Field
	TotalPriceTaxExcl gormcol.Field
	TotalPriceTaxIncl gormcol.Field
	AmountTaxExcl gormcol.Field
	AmountTaxIncl gormcol.Field
}{
	IDOrderSlip: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "id_order_slip"),
	IDOrderDetail: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "id_order_detail"),
	ProductQuantity: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "product_quantity"),
	UnitPriceTaxExcl: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "unit_price_tax_excl"),
	UnitPriceTaxIncl: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "unit_price_tax_incl"),
	TotalPriceTaxExcl: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "total_price_tax_excl"),
	TotalPriceTaxIncl: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "total_price_tax_incl"),
	AmountTaxExcl: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "amount_tax_excl"),
	AmountTaxIncl: gormcol.Field{}.Set((&PsOrderSlipDetail{}).TableName(), "amount_tax_incl"),
}
