You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 line
443 B

  1. package model
  2. type Gateway struct {
  3. ID string `json:"id" gorm:"primaryKey"`
  4. Name string `json:"name"`
  5. MAC string `json:"mac"`
  6. Status string `json:"status"`
  7. Model string `json:"model"`
  8. IP string `json:"ip"`
  9. Position string `json:"position"`
  10. X float32 `json:"x"`
  11. Y float32 `json:"y"`
  12. Notes string `json:"notes"`
  13. Floor string `json:"floor"`
  14. Building string `json:"building"`
  15. }