package models type FeedClass struct { Id int64 `xorm:"id"` PastureId int64 `xorm:"pastureid"` FCCode string `xorm:"fccode"` FCName string `xorm:"fcname"` Sort int32 `xorm:"sort"` Enable int32 `xorm:"enable"` BigFeedClassId int32 `xorm:"bigfeedclassid"` BigFeedClassName string `xorm:"bigfeedclassname"` Backup1 string `xorm:"backup1"` GroupId int64 `xorm:"group_id"` } func (c *FeedClass) TableName() string { return "feedclass" }