overflow_commons_go/modules/probe/model/ProbeTask.go

21 lines
842 B
Go
Raw Normal View History

2017-11-08 09:50:44 +00:00
package model
import (
"encoding/json"
2017-12-01 06:04:31 +00:00
2017-11-08 09:50:44 +00:00
meta "git.loafle.net/overflow/overflow_commons_go/modules/meta/model"
2017-12-01 06:04:31 +00:00
util "git.loafle.net/overflow/overflow_commons_go/util"
2017-11-08 09:50:44 +00:00
)
type ProbeTask struct {
2017-12-01 06:04:31 +00:00
ID json.Number `json:"id,Number,omitempty"`
2017-11-08 09:50:44 +00:00
MetaProbeTaskType *meta.MetaProbeTaskType `json:"metaProbeTaskType,omitempty"`
Probe *Probe `json:"probe,omitempty"`
Data string `json:"data,omitempty"`
2017-12-01 06:04:31 +00:00
CreateDate util.Timestamp `json:"createDate,omitempty"`
SendDate util.Timestamp `json:"sendDate,omitempty"`
StartDate util.Timestamp `json:"startDate,omitempty"`
EndDate util.Timestamp `json:"endDate,omitempty"`
2017-11-08 09:50:44 +00:00
Succeed bool `json:"succeed,omitempty"`
}