package model type Housephy struct { Id string `xorm:"'uuid'"` Pastureid string `xorm:"varchar(30) 'FARM_UUID'"` Bname string `xorm:"varchar(30) 'PHYSICALNAME'"` Bcode string `xorm:"varchar(30) 'PHYSICALCODE'"` Image string `xorm:"image"` } func (s *Housephy) TableName() string { return "t_jc_housephy" }