package model type TypeModel struct { BaseModel Name string } func (t *TypeModel) TableName() string { return "types" }