mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			666 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			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"`
 | 
						|
}
 |