tb_demo.go 191 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 package models type TbDemo struct { Model Name string `json:"name" gorm:"type:varchar(128);comment:名称"` ModelTime ControlBy } func (TbDemo) TableName() string { return "tb_demo" }