feed_class.go 534 B

123456789101112131415161718
  1. package models
  2. type FeedClass struct {
  3. Id int64 `xorm:"id"`
  4. PastureId int64 `xorm:"pastureid"`
  5. FCCode string `xorm:"fccode"`
  6. FCName string `xorm:"fcname"`
  7. Sort int32 `xorm:"sort"`
  8. Enable int32 `xorm:"enable"`
  9. BigFeedClassId int32 `xorm:"bigfeedclassid"`
  10. BigFeedClassName string `xorm:"bigfeedclassname"`
  11. Backup1 string `xorm:"backup1"`
  12. GroupId int64 `xorm:"group_id"`
  13. }
  14. func (c *FeedClass) TableName() string {
  15. return "feedclass"
  16. }