monitor.go 571 B

12345678910111213141516171819
  1. package model
  2. import (
  3. xtime "go-common/library/time"
  4. )
  5. // Monitor is.
  6. type Monitor struct {
  7. ID int64 `json:"id" gorm:"column:id"`
  8. Mid int64 `json:"mid" gorm:"column:mid"`
  9. Operator string `json:"operator" gorm:"column:operator"`
  10. Remark string `json:"remark" gorm:"column:remark"`
  11. CTime xtime.Time `json:"ctime" gorm:"column:ctime"`
  12. MTime xtime.Time `json:"mtime" gorm:"column:mtime"`
  13. IsDeleted bool `json:"is_deleted" gorm:"column:is_deleted"`
  14. // 昵称,后期拼进来
  15. Name string `json:"name" gorm:"-"`
  16. }