// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsOrderReturnDetail = "ps_order_return_detail"

// PsOrderReturnDetail mapped from table <ps_order_return_detail>
type PsOrderReturnDetail struct {
	IDOrderReturn   int32 `gorm:"column:id_order_return;primaryKey" json:"id_order_return"`
	IDOrderDetail   int32 `gorm:"column:id_order_detail;primaryKey" json:"id_order_detail"`
	IDCustomization int32 `gorm:"column:id_customization;primaryKey" json:"id_customization"`
	ProductQuantity int32 `gorm:"column:product_quantity;not null" json:"product_quantity"`
}

// TableName PsOrderReturnDetail's table name
func (*PsOrderReturnDetail) TableName() string {
	return TableNamePsOrderReturnDetail
}

var PsOrderReturnDetailCols = struct {
	IDOrderReturn gormcol.Field
	IDOrderDetail gormcol.Field
	IDCustomization gormcol.Field
	ProductQuantity gormcol.Field
}{
	IDOrderReturn: gormcol.Field{}.Set((&PsOrderReturnDetail{}).TableName(), "id_order_return"),
	IDOrderDetail: gormcol.Field{}.Set((&PsOrderReturnDetail{}).TableName(), "id_order_detail"),
	IDCustomization: gormcol.Field{}.Set((&PsOrderReturnDetail{}).TableName(), "id_customization"),
	ProductQuantity: gormcol.Field{}.Set((&PsOrderReturnDetail{}).TableName(), "product_quantity"),
}
