mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-13 23:22:10 +08:00
[优化]优化目录
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"pandax/pkg/global_model"
|
||||
"pandax/pkg/global/model"
|
||||
)
|
||||
|
||||
type SysJob struct {
|
||||
global_model.BaseAuthModel
|
||||
model.BaseAuthModel
|
||||
JobName string `json:"jobName" gorm:"type:varchar(255);"` // 名称
|
||||
TargetInvoke string `json:"targetInvoke" gorm:"type:varchar(64);comment:目标类型"` //调用目标 设备还是产品
|
||||
TargetArgs string `json:"targetArgs" gorm:"type:varchar(64);comment:目标Id"` //目标传参 设备或者产品id
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"pandax/pkg/global_model"
|
||||
"pandax/pkg/global/model"
|
||||
)
|
||||
|
||||
type JobLog struct {
|
||||
global_model.BaseAuthModel
|
||||
model.BaseAuthModel
|
||||
Name string `json:"name" gorm:"type:varchar(128);comment:任务名称"`
|
||||
EntryId int `json:"entryId" gorm:"type:int;comment:任务id"`
|
||||
TargetInvoke string `json:"targetInvoke" gorm:"type:varchar(128);comment:调用方法"`
|
||||
|
||||
Reference in New Issue
Block a user