2024-02-29 22:12:50 +08:00
|
|
|
package form
|
|
|
|
|
|
|
|
|
|
import "mayfly-go/internal/flow/domain/entity"
|
|
|
|
|
|
|
|
|
|
type Procdef struct {
|
2024-10-16 17:24:50 +08:00
|
|
|
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"`
|
2025-04-15 21:42:31 +08:00
|
|
|
MsgTmplId uint64 `json:"msgTmplId"`
|
2024-05-08 21:04:25 +08:00
|
|
|
|
|
|
|
|
CodePaths []string `json:"codePaths"`
|
2024-02-29 22:12:50 +08:00
|
|
|
}
|
2025-05-20 21:04:47 +08:00
|
|
|
|
|
|
|
|
type ProcdefFlow struct {
|
|
|
|
|
Id uint64 `json:"id" binding:"required"`
|
|
|
|
|
Flow *entity.FlowDef `json:"flow" binding:"required"`
|
|
|
|
|
}
|