Files
SamWaf/model/batchtask.go
T
2024-11-20 15:41:37 +08:00

16 lines
706 B
Go

package model
import "SamWaf/model/baseorm"
// BatchTask 批量任务
type BatchTask struct {
baseorm.BaseOrm
BatchTaskName string `json:"batch_task_name"` //任务名
BatchType string `json:"batch_type"` //任务类型
BatchHostCode string `json:"batch_host_code"` //网站唯一码 是否绑定到某个主机上
BatchSourceType string `json:"batch_source_type"` //来源类型(local,url)
BatchSource string `json:"batch_source"` //来源内容 路径或者实际的url内容
BatchExecuteMethod string `json:"batch_execute_method"` //任务执行方式 追加,覆盖
Remark string `json:"remark"` //备注
}