hpds_jkw_web/model/detectionTask.go

13 lines
788 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
type DetectionTask struct {
TaskId int64 `json:"taskId" xorm:"not null pk autoincr INT(11)"`
TaskCode string `json:"taskCode" xorm:"varchar(64) not null "`
TaskName string `json:"taskName" xorm:"varchar(200) not null "`
ParentTaskId int64 `json:"parentTaskId" xorm:"INT(11) default 0 not null"` //上级任务编号默认为0
TaskStatus int `json:"taskStatus" xorm:"INT(11) default 0 not null"` //任务状态
InitiatorUserId int64 `json:"initiatorUserId" xorm:"INT(11) default 0 not null"` //任务发起人
InitiatorTime int64 `json:"initiatorTime" xorm:"created"` //任务发起时间
CompletionTime int64 `json:"completionTime" xorm:"DATETIME"` //任务完成时间
}