Files
mayfly-go/server/internal/flow/api/form/procdef.go
2025-05-23 17:26:12 +08:00

21 lines
666 B
Go

package form
import "mayfly-go/internal/flow/domain/entity"
type Procdef struct {
Id uint64 `json:"id"`
Name string `json:"name" binding:"required"` // 名称
DefKey string `json:"defKey" binding:"required"`
Status entity.ProcdefStatus `json:"status" binding:"required"`
Condition string `json:"condition"`
Remark string `json:"remark"`
MsgTmplId uint64 `json:"msgTmplId"`
CodePaths []string `json:"codePaths"`
}
type ProcdefFlow struct {
Id uint64 `json:"id" binding:"required"`
Flow *entity.FlowDef `json:"flow" binding:"required"`
}