pasture.go 258 B

1234567891011
  1. package model
  2. type Pasture struct {
  3. PastureCode string `xorm:"varchar(50) 'FARM_NUM'"`
  4. Pastureid string `xorm:"varchar(30) 'uuid'"`
  5. PastureName string `xorm:"varchar(30) 'FARM_NAME'"`
  6. }
  7. func (s *Pasture) TableName() string {
  8. return "t_nz_farm"
  9. }