You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
317 B

package express
type Company struct {
ID uint `gorm:"column:id;primary_key" json:"-"`
Name string `gorm:"column:name" json:"name"`
Code string `gorm:"column:code" json:"-"`
}
// TableName sets the insert table name for this struct type
func (*Company) TableName() string {
return "recook_express_company"
}