func (v *volumeTableType) PKColumnIndex() uint {
	return uint(v.s.PKFieldIndex)
}
PKColumnIndex returns an index of primary key column for that table in SQL database.
package models
import (
	"fmt"
	"strings"
	"gopkg.in/reform.v1"
	"gopkg.in/reform.v1/parse"
)
type volumeTableType struct {
	s parse.StructInfo
	z []interface{}
}
func (v *volumeTableType) Schema() string {
	return v.s.SQLSchema
}
func (v *volumeTableType) Name() string {
	return v.s.SQLName
}
func (v *volumeTableType) Columns() []string {
	return []string{"id", "book_id", "type", "created_at", "updated_at"}
}
func (v *volumeTableType) NewStruct() reform.Struct {
	return new(Volume)
}
func (v *volumeTableType) NewRecord() reform.Record {
	return new(Volume)
}