func (s *Schema) Fields() []*Field {
	return s.fields[:]
}
Fields returns the fields
package nero
import (
	"github.com/jinzhu/inflection"
	"github.com/sf9v/mira"
	stringsx "github.com/sf9v/nero/x/strings"
)
type Schema struct {
	pkgName string
	table string
	typeInfo *mira.TypeInfo
	identity *Field
	fields []*Field
	imports []string
	templates []Template
}
func (s *Schema) PkgName() string {
	return s.pkgName
}
func (s *Schema) Table() string {
	return s.table
}
func (s *Schema) Identity() *Field {
	return s.identity
}