cownum.go 296 B

12345678910111213
  1. package model
  2. type Cownum struct {
  3. Id string `gorm:"column:ID"`
  4. Date string `gorm:"column:date"`
  5. Farm string `gorm:"column:farm"`
  6. Totalcow int64 `gorm:"column:totalcow"`
  7. Milkcow int64 `gorm:"column:milkcow"`
  8. }
  9. func (p Cownum) TableName() string {
  10. return "Table_cownum"
  11. }