// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsOrderSlipDetailTax = "ps_order_slip_detail_tax"

// PsOrderSlipDetailTax mapped from table <ps_order_slip_detail_tax>
type PsOrderSlipDetailTax struct {
	IDOrderSlipDetail int32   `gorm:"column:id_order_slip_detail;not null;index:id_order_slip_detail,priority:1" json:"id_order_slip_detail"`
	IDTax             int32   `gorm:"column:id_tax;not null;index:id_tax,priority:1" json:"id_tax"`
	UnitAmount        float64 `gorm:"column:unit_amount;not null;default:0.000000" json:"unit_amount"`
	TotalAmount       float64 `gorm:"column:total_amount;not null;default:0.000000" json:"total_amount"`
}

// TableName PsOrderSlipDetailTax's table name
func (*PsOrderSlipDetailTax) TableName() string {
	return TableNamePsOrderSlipDetailTax
}

var PsOrderSlipDetailTaxCols = struct {
	IDOrderSlipDetail gormcol.Field
	IDTax gormcol.Field
	UnitAmount gormcol.Field
	TotalAmount gormcol.Field
}{
	IDOrderSlipDetail: gormcol.Field{}.Set((&PsOrderSlipDetailTax{}).TableName(), "id_order_slip_detail"),
	IDTax: gormcol.Field{}.Set((&PsOrderSlipDetailTax{}).TableName(), "id_tax"),
	UnitAmount: gormcol.Field{}.Set((&PsOrderSlipDetailTax{}).TableName(), "unit_amount"),
	TotalAmount: gormcol.Field{}.Set((&PsOrderSlipDetailTax{}).TableName(), "total_amount"),
}
