eqclass.go 278 B

123456789101112
  1. package model
  2. type EqClass struct {
  3. ID int `gorm:"column:id"`
  4. TypeName string `gorm:"column:typeName" json:"typeName"`
  5. TypeCode string `gorm:"column:typeCode" json:"typeCode"`
  6. }
  7. type EqClassAndPasture struct {
  8. EqClass `xorm:"extends"`
  9. Pasture `xorm:"extends"`
  10. }