feedsum.go 348 B

1234567891011121314
  1. package model
  2. type FeedSum struct {
  3. CowNum int64 `gorm:"column:cowNum"`
  4. CowNumM int64 `gorm:"column:cowNumM"`
  5. FeedDay string `gorm:"column:feedDay"`
  6. Id int64 `gorm:"column:id"`
  7. PastureId int64 `gorm:"column:pastureId"`
  8. SaleNum int64 `gorm:"column:saleNum"`
  9. }
  10. func (t *FeedSum) TableName() string {
  11. return "feed_sum"
  12. }