models

package
v0.0.0-...-0d80776 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DateTimeFormat       = "2006-01-02 15:04:05"
	SysTableIdConnector  = "__"
	UrlPrefix            = "/taskman"
	RowDataPermissionErr = "Row data permission deny "
	AdminRole            = "SUPER_ADMIN"
	UploadFileMaxSize    = 10485760
)

Variables

View Source
var (
	Config                   *GlobalConfig
	CoreToken                *token.CoreToken
	ProcessFetchTabs         string
	MailEnable               bool
	MailSender               smtp.MailSender
	PriorityLevelMap         = map[int]string{1: "high", 2: "medium", 3: "low"}
	RequestTemplateImportMap = map[string]RequestTemplateExport{}
)

Functions

func InitConfig

func InitConfig(configFile string) (errMessage string)

Types

type AttachFileConfig

type AttachFileConfig struct {
	MinioAddress   string `json:"minio_address"`
	MinioAccessKey string `json:"minio_access_key"`
	MinioSecretKey string `json:"minio_secret_key"`
	Bucket         string `json:"bucket"`
	SSL            bool   `json:"ssl"`
}

type AttachFileTable

type AttachFileTable struct {
	Id           string `json:"id" xorm:"id"`
	Name         string `json:"name" xorm:"name"`
	S3BucketName string `json:"s3BucketName" xorm:"s3_bucket_name"`
	S3KeyName    string `json:"s3KeyName" xorm:"s3_key_name"`
	DelFlag      int    `json:"delFlag" xorm:"del_flag"`
	Request      string `json:"request" xorm:"request"`
	Task         string `json:"task" xorm:"task"`
}

type CMDBCategoriesObj

type CMDBCategoriesObj struct {
	CatId string `json:"catId"`
	Code  string `json:"code"`
	Value string `json:"value"`
	SeqNo int    `json:"seqNo"`
}

type CMDBCategoriesResponse

type CMDBCategoriesResponse struct {
	StatusCode string               `json:"statusCode"`
	Data       []*CMDBCategoriesObj `json:"data"`
}

type CallbackResult

type CallbackResult struct {
	Status  string `json:"status"`
	Message string `json:"message"`
}

type CiDataRefFilterObj

type CiDataRefFilterObj struct {
	Left     string               `json:"left"`
	Operator string               `json:"operator"`
	Right    CiDataRefFilterRight `json:"right"`
}

type CiDataRefFilterRight

type CiDataRefFilterRight struct {
	Type  string      `json:"type"`
	Value interface{} `json:"value"`
}

type CiReferenceDataQueryObj

type CiReferenceDataQueryObj struct {
	Guid    string `json:"guid"`
	KeyName string `json:"key_name"`
	IsNew   bool   `json:"is_new"`
}

type CiReferenceDataQueryResponse

type CiReferenceDataQueryResponse struct {
	StatusCode string                     `json:"statusCode"`
	Data       []*CiReferenceDataQueryObj `json:"data"`
}

type CiTypeAttrQueryResponse

type CiTypeAttrQueryResponse struct {
	StatusCode string                `json:"statusCode"`
	Data       []*SysCiTypeAttrTable `json:"data"`
}

type CodeProcessQueryObj

type CodeProcessQueryObj struct {
	ExcludeMode     string `json:"excludeMode"`
	ProcDefId       string `json:"procDefId"`
	ProcDefKey      string `json:"procDefKey"`
	ProcDefName     string `json:"procDefName"`
	ProcDefVersion  string `json:"procDefVersion"`
	RootEntity      string `json:"rootEntity"`
	Status          string `json:"status"`
	CreatedTime     string `json:"createdTime"`
	CreatedUnixTime int64  `json:"-"`
	Tags            string `json:"tags"`
}

type CoreProcessQueryResponse

type CoreProcessQueryResponse struct {
	Status  string                 `json:"status"`
	Message string                 `json:"message"`
	Data    []*CodeProcessQueryObj `json:"data"`
}

type CoreRoleDataObj

type CoreRoleDataObj struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Email       string `json:"email"`
	DisplayName string `json:"displayName"`
}

type CoreRoleDto

type CoreRoleDto struct {
	Status  string            `json:"status"`
	Message string            `json:"message"`
	Data    []CoreRoleDataObj `json:"data"`
}

type CoreUserDataObj

type CoreUserDataObj struct {
	Id       string `json:"id"`
	Username string `json:"username"`
}

type CoreUserDto

type CoreUserDto struct {
	Status  string            `json:"status"`
	Message string            `json:"message"`
	Data    []CoreUserDataObj `json:"data"`
}

type DatabaseConfig

type DatabaseConfig struct {
	Server   string `json:"server"`
	Port     string `json:"port"`
	User     string `json:"user"`
	Password string `json:"password"`
	DataBase string `json:"database"`
	MaxOpen  int    `json:"maxOpen"`
	MaxIdle  int    `json:"maxIdle"`
	Timeout  int    `json:"timeout"`
}

type EntityAttributeObj

type EntityAttributeObj struct {
	CiTypeId              string `json:"ciTypeId"`
	CiTypeAttrId          string `json:"ciTypeAttrId"`
	PropertyName          string `json:"propertyName"`
	DisplayName           string `json:"displayName"`
	InputType             string `json:"inputType"`
	Nullable              string `json:"nullable"`
	Status                string `json:"status"`
	SelectList            string `json:"selectList"`
	Editable              string `json:"editable"`
	RegularExpressionRule string `json:"regularExpressionRule"`
}

type EntityAttributeQueryResponse

type EntityAttributeQueryResponse struct {
	StatusCode string                `json:"statusCode"`
	Data       []*EntityAttributeObj `json:"data"`
}

type EntityDataObj

type EntityDataObj struct {
	Id          string `json:"guid"`
	DisplayName string `json:"key_name"`
	IsNew       bool   `json:"isNew"`
	PackageName string `json:"package_name"`
	Entity      string `json:"entity"`
}

type EntityNodeBindQueryObj

type EntityNodeBindQueryObj struct {
	NodeDefId string `xorm:"node_def_id"`
	ItemGroup string `xorm:"item_group"`
}

type EntityQueryObj

type EntityQueryObj struct {
	AttrName  string      `json:"attrName"`
	Op        string      `json:"op"`
	Condition interface{} `json:"condition"`
}

type EntityQueryParam

type EntityQueryParam struct {
	Criteria          EntityQueryObj    `json:"criteria"`
	AdditionalFilters []*EntityQueryObj `json:"additionalFilters"`
}

type EntityQueryResult

type EntityQueryResult struct {
	Status  string           `json:"status"`
	Message string           `json:"message"`
	Data    []*EntityDataObj `json:"data"`
}

type EntityResponse

type EntityResponse struct {
	Status  string                   `json:"status"`
	Message string                   `json:"message"`
	Data    []map[string]interface{} `json:"data"`
}

type EntityTreeData

type EntityTreeData struct {
	EntityTreeNodes  []*EntityTreeObj `json:"entityTreeNodes"`
	ProcessSessionId string           `json:"processSessionId"`
}

type EntityTreeObj

type EntityTreeObj struct {
	PackageName   string                 `json:"packageName"`
	EntityName    string                 `json:"entityName"`
	DataId        string                 `json:"dataId"`
	DisplayName   string                 `json:"displayName"`
	FullDataId    interface{}            `json:"fullDataId"`
	Id            string                 `json:"id"`
	EntityData    map[string]interface{} `json:"entityData"`
	PreviousIds   []string               `json:"previousIds"`
	SucceedingIds []string               `json:"succeedingIds"`
	EntityDataOp  string                 `json:"entityDataOp"`
}

type EntityTreeResult

type EntityTreeResult struct {
	Status  string         `json:"status"`
	Message string         `json:"message"`
	Data    EntityTreeData `json:"data"`
}

type ExpireObj

type ExpireObj struct {
	Percent    float64 `json:"percent"`
	ReportTime string  `json:"reportTime"`
	ExpireTime string  `json:"expireTime"`
	NowTime    string  `json:"nowTime"`
	TotalDay   float64 `json:"totalDay"`
	LeftDay    float64 `json:"leftDay"`
	UseDay     float64 `json:"useDay"`
}

type FormItemTable

type FormItemTable struct {
	Id               string `json:"id" xorm:"id"`
	Form             string `json:"form" xorm:"form"`
	FormItemTemplate string `json:"formItemTemplate" xorm:"form_item_template"`
	Name             string `json:"name" xorm:"name"`
	Value            string `json:"value" xorm:"value"`
	ItemGroup        string `json:"itemGroup" xorm:"item_group"`
	RowDataId        string `json:"rowDataId" xorm:"row_data_id"`
}

type FormItemTemplateTable

type FormItemTemplateTable struct {
	Id              string           `json:"id" xorm:"id"`
	Name            string           `json:"name" xorm:"name"`
	Description     string           `json:"description" xorm:"description"`
	ItemGroup       string           `json:"itemGroup" xorm:"item_group"`
	ItemGroupName   string           `json:"itemGroupName" xorm:"item_group_name"`
	FormTemplate    string           `json:"formTemplate" xorm:"form_template"`
	DefaultValue    string           `json:"defaultValue" xorm:"default_value"`
	Sort            int              `json:"sort" xorm:"sort"`
	PackageName     string           `json:"packageName" xorm:"package_name"`
	Entity          string           `json:"entity" xorm:"entity"`
	AttrDefId       string           `json:"attrDefId" xorm:"attr_def_id"`
	AttrDefName     string           `json:"attrDefName" xorm:"attr_def_name"`
	AttrDefDataType string           `json:"attrDefDataType" xorm:"attr_def_data_type"`
	ElementType     string           `json:"elementType" xorm:"element_type"`
	Title           string           `json:"title" xorm:"title"`
	Width           int              `json:"width" xorm:"width"`
	RefPackageName  string           `json:"refPackageName" xorm:"ref_package_name"`
	RefEntity       string           `json:"refEntity" xorm:"ref_entity"`
	DataOptions     string           `json:"dataOptions" xorm:"data_options"`
	Required        string           `json:"required" xorm:"required"`
	Regular         string           `json:"regular" xorm:"regular"`
	IsEdit          string           `json:"isEdit" xorm:"is_edit"`
	IsView          string           `json:"isView" xorm:"is_view"`
	IsOutput        string           `json:"isOutput" xorm:"is_output"`
	InDisplayName   string           `json:"inDisplayName" xorm:"in_display_name"`
	IsRefInside     string           `json:"isRefInside" xorm:"is_ref_inside"`
	Multiple        string           `json:"multiple" xorm:"multiple"`
	SelectList      []*EntityDataObj `json:"selectList" xorm:"-"`
}

type FormTable

type FormTable struct {
	Id           string `json:"id" xorm:"id"`
	Name         string `json:"name" xorm:"name"`
	Description  string `json:"description" xorm:"description"`
	FormTemplate string `json:"formTemplate" xorm:"form_template"`
	CreatedBy    string `json:"createdBy" xorm:"created_by"`
	CreatedTime  string `json:"createdTime" xorm:"created_time"`
	UpdatedBy    string `json:"updatedBy" xorm:"updated_by"`
	UpdatedTime  string `json:"updatedTime" xorm:"updated_time"`
	DelFlag      int    `json:"delFlag" xorm:"del_flag"`
}

type FormTemplateDto

type FormTemplateDto struct {
	Id          string                   `json:"id"`
	Name        string                   `json:"name"`
	Description string                   `json:"description"`
	ExpireDay   int                      `json:"expireDay"`
	UpdatedBy   string                   `json:"updatedBy"`
	UpdatedTime string                   `json:"updatedTime"`
	NowTime     string                   `json:"-"`
	Items       []*FormItemTemplateTable `json:"items"`
}

type FormTemplateTable

type FormTemplateTable struct {
	Id          string `json:"id" xorm:"id"`
	Name        string `json:"name" xorm:"name"`
	Description string `json:"description" xorm:"description"`
	CreatedBy   string `json:"createdBy" xorm:"created_by"`
	CreatedTime string `json:"createdTime" xorm:"created_time"`
	UpdatedBy   string `json:"updatedBy" xorm:"updated_by"`
	UpdatedTime string `json:"updatedTime" xorm:"updated_time"`
	DelFlag     int    `json:"delFlag" xorm:"del_flag"`
}

type GetExpressResultParam

type GetExpressResultParam struct {
	Filter      *CiDataRefFilterObj               `json:"filter"`
	StartCiType string                            `json:"startCiType"`
	Express     string                            `json:"express"`
	UserToken   string                            `json:"userToken"`
	FilterMap   map[string]string                 `json:"filterMap"`
	NewData     map[string]map[string]interface{} `json:"newData"`
}

type GlobalConfig

type GlobalConfig struct {
	DefaultLanguage string           `json:"default_language"`
	HttpServer      HttpServerConfig `json:"http_server"`
	Log             LogConfig        `json:"log"`
	Database        DatabaseConfig   `json:"database"`
	RsaKeyPath      string           `json:"rsa_key_path"`
	Wecube          WecubeConfig     `json:"wecube"`
	Mail            MailConfig       `json:"mail"`
	AttachFile      AttachFileConfig `json:"attach_file"`
}

type HttpServerConfig

type HttpServerConfig struct {
	Port  string `json:"port"`
	Cross bool   `json:"cross"`
}

type InstanceStatusQuery

type InstanceStatusQuery struct {
	Status  string                 `json:"status"`
	Message string                 `json:"message"`
	Data    InstanceStatusQueryObj `json:"data"`
}

type InstanceStatusQueryNode

type InstanceStatusQueryNode struct {
	Id        int    `json:"id"`
	NodeId    string `json:"nodeId"`
	NodeDefId string `json:"nodeDefId"`
	NodeName  string `json:"nodeName"`
	NodeType  string `json:"nodeType"`
	Status    string `json:"status"`
}

type InstanceStatusQueryObj

type InstanceStatusQueryObj struct {
	Id                int                        `json:"id"`
	ProcDefId         string                     `json:"procDefId"`
	ProcInstKey       string                     `json:"procInstKey"`
	ProcInstName      string                     `json:"procInstName"`
	Status            string                     `json:"status"`
	TaskNodeInstances []*InstanceStatusQueryNode `json:"taskNodeInstances"`
}

type LogConfig

type LogConfig struct {
	Level            string `json:"level"`
	LogDir           string `json:"log_dir"`
	AccessLogEnable  bool   `json:"access_log_enable"`
	DbLogEnable      bool   `json:"db_log_enable"`
	ArchiveMaxSize   int    `json:"archive_max_size"`
	ArchiveMaxBackup int    `json:"archive_max_backup"`
	ArchiveMaxDay    int    `json:"archive_max_day"`
	Compress         bool   `json:"compress"`
}

type MailConfig

type MailConfig struct {
	SenderName   string `json:"sender_name"`
	SenderMail   string `json:"sender_mail"`
	AuthServer   string `json:"auth_server"`
	AuthPassword string `json:"auth_password"`
	Ssl          string `json:"ssl"`
}

type OperationLogTable

type OperationLogTable struct {
	Id        string `json:"id" xorm:"id"`
	Request   string `json:"request" xorm:"request"`
	Task      string `json:"task" xorm:"task"`
	Operation string `json:"operation" xorm:"operation"`
	Operator  string `json:"operator" xorm:"operator"`
	OpTime    string `json:"opTime" xorm:"op_time"`
}

type PageInfo

type PageInfo struct {
	StartIndex int `json:"startIndex"`
	PageSize   int `json:"pageSize"`
	TotalRows  int `json:"totalRows"`
}

type PluginCiDataAttrValueRequest

type PluginCiDataAttrValueRequest struct {
	RequestId string                             `json:"requestId"`
	Inputs    []*PluginCiDataAttrValueRequestObj `json:"inputs"`
}

type PluginCiDataAttrValueRequestObj

type PluginCiDataAttrValueRequestObj struct {
	CallbackParameter string `json:"callbackParameter"`
	CiType            string `json:"ciType"`
	Guid              string `json:"guid"`
	CiTypeAttr        string `json:"ciTypeAttr"`
	Value             string `json:"value"`
}

type PluginCiDataOperationOutput

type PluginCiDataOperationOutput struct {
	Outputs []*PluginCiDataOperationOutputObj `json:"outputs"`
}

type PluginCiDataOperationOutputObj

type PluginCiDataOperationOutputObj struct {
	CallbackParameter string `json:"callbackParameter"`
	Guid              string `json:"guid"`
	ErrorCode         string `json:"errorCode"`
	ErrorMessage      string `json:"errorMessage"`
	ErrorDetail       string `json:"errorDetail,omitempty"`
}

type PluginCiDataOperationRequest

type PluginCiDataOperationRequest struct {
	RequestId string                             `json:"requestId"`
	Inputs    []*PluginCiDataOperationRequestObj `json:"inputs"`
}

type PluginCiDataOperationRequestObj

type PluginCiDataOperationRequestObj struct {
	CallbackParameter string `json:"callbackParameter"`
	CiType            string `json:"ciType"`
	Operation         string `json:"operation"`
	JsonData          string `json:"jsonData"`
}

type PluginCiDataOperationResp

type PluginCiDataOperationResp struct {
	ResultCode    string                      `json:"resultCode"`
	ResultMessage string                      `json:"resultMessage"`
	Results       PluginCiDataOperationOutput `json:"results"`
}

type PluginTaskCreateOutput

type PluginTaskCreateOutput struct {
	RequestId      string                       `json:"requestId"`
	AllowedOptions []string                     `json:"allowedOptions,omitempty"`
	Outputs        []*PluginTaskCreateOutputObj `json:"outputs"`
}

type PluginTaskCreateOutputObj

type PluginTaskCreateOutputObj struct {
	CallbackParameter string `json:"callbackParameter"`
	Comment           string `json:"comment"`
	TaskFormOutput    string `json:"taskFormOutput"`
	ErrorCode         string `json:"errorCode"`
	ErrorMessage      string `json:"errorMessage"`
	ErrorDetail       string `json:"errorDetail,omitempty"`
}

type PluginTaskCreateRequest

type PluginTaskCreateRequest struct {
	RequestId      string                        `json:"requestId"`
	DueDate        string                        `json:"dueDate"`
	AllowedOptions []string                      `json:"allowedOptions"`
	Inputs         []*PluginTaskCreateRequestObj `json:"inputs"`
}

type PluginTaskCreateRequestObj

type PluginTaskCreateRequestObj struct {
	CallbackParameter string `json:"callbackParameter"`
	ProcInstId        string `json:"procInstId"`
	CallbackUrl       string `json:"callbackUrl"`
	Reporter          string `json:"reporter"`
	Handler           string `json:"handler"`
	RoleName          string `json:"roleName"`
	TaskName          string `json:"taskName"`
	TaskDescription   string `json:"taskDescription"`
	TaskFormInput     string `json:"taskFormInput"`
}

type PluginTaskCreateResp

type PluginTaskCreateResp struct {
	ResultCode    string                 `json:"resultCode"`
	ResultMessage string                 `json:"resultMessage"`
	Results       PluginTaskCreateOutput `json:"results"`
}

type PluginTaskFormDto

type PluginTaskFormDto struct {
	FormMetaId       string                  `json:"formMetaId"`
	ProcDefId        string                  `json:"procDefId"`
	ProcDefKey       string                  `json:"procDefKey"`
	ProcInstId       int                     `json:"procInstId"`
	ProcInstKey      string                  `json:"procInstKey"`
	TaskNodeDefId    string                  `json:"taskNodeDefId"`
	TaskNodeInstId   int                     `json:"taskNodeInstId"`
	FormDataEntities []*PluginTaskFormEntity `json:"formDataEntities"`
}

type PluginTaskFormEntity

type PluginTaskFormEntity struct {
	FormMetaId       string                 `json:"formMetaId"`
	PackageName      string                 `json:"packageName"`
	EntityName       string                 `json:"entityName"`
	Oid              string                 `json:"oid"`
	EntityDataId     string                 `json:"entityDataId"`
	FullEntityDataId string                 `json:"fullEntityDataId"`
	EntityDataState  string                 `json:"entityDataState"`
	EntityDataOp     string                 `json:"entityDataOp"`
	BindFlag         string                 `json:"bindFlag"`
	FormItemValues   []*PluginTaskFormValue `json:"formItemValues"`
}

type PluginTaskFormValue

type PluginTaskFormValue struct {
	FormItemMetaId   string      `json:"formItemMetaId"`
	PackageName      string      `json:"packageName"`
	EntityName       string      `json:"entityName"`
	AttrName         string      `json:"attrName"`
	Oid              string      `json:"oid"`
	EntityDataId     string      `json:"entityDataId"`
	FullEntityDataId string      `json:"fullEntityDataId"`
	AttrValue        interface{} `json:"attrValue"`
}

type ProcAllDefObj

type ProcAllDefObj struct {
	ProcDefId   string `json:"procDefId"`
	ProcDefKey  string `json:"procDefKey"`
	ProcDefName string `json:"procDefName"`
	Status      string `json:"status"`
	RootEntity  string `json:"rootEntity"`
	CreatedTime string `json:"createdTime"`
}

type ProcAllQueryResponse

type ProcAllQueryResponse struct {
	Status  string           `json:"status"`
	Message string           `json:"message"`
	Data    []*ProcAllDefObj `json:"data"`
}

type ProcDefObj

type ProcDefObj struct {
	ProcDefId   string     `json:"procDefId"`
	ProcDefKey  string     `json:"procDefKey"`
	ProcDefName string     `json:"procDefName"`
	Status      string     `json:"status"`
	RootEntity  ProcEntity `json:"rootEntity"`
	CreatedTime string     `json:"createdTime"`
}

type ProcEntity

type ProcEntity struct {
	Id          string                    `json:"id"`
	PackageName string                    `json:"packageName"`
	Name        string                    `json:"name"`
	Description string                    `json:"description"`
	DisplayName string                    `json:"displayName"`
	Attributes  []*ProcEntityAttributeObj `json:"attributes"`
}

type ProcEntityAttributeObj

type ProcEntityAttributeObj struct {
	Id                string `json:"id"`
	Name              string `json:"name"`
	Description       string `json:"description"`
	DataType          string `json:"dataType"`
	Mandatory         bool   `json:"mandatory"`
	RefPackageName    string `json:"refPackageName"`
	RefEntityName     string `json:"refEntityName"`
	RefAttrName       string `json:"refAttrName"`
	ReferenceId       string `json:"referenceId"`
	Active            bool   `json:"active"`
	EntityId          string `json:"entityId"`
	EntityName        string `json:"entityName"`
	EntityDisplayName string `json:"entityDisplayName"`
	EntityPackage     string `json:"entityPackage"`
	Multiple          string `json:"multiple"`
}

type ProcNodeObj

type ProcNodeObj struct {
	NodeId        string        `json:"nodeId"`
	NodeName      string        `json:"nodeName"`
	NodeType      string        `json:"nodeType"`
	NodeDefId     string        `json:"nodeDefId"`
	TaskCategory  string        `json:"taskCategory"`
	RoutineExp    string        `json:"routineExp"`
	ServiceId     string        `json:"serviceId"`
	ServiceName   string        `json:"serviceName"`
	OrderedNo     string        `json:"orderedNo"`
	OrderedNum    int           `json:"-"`
	DynamicBind   string        `json:"dynamicbind"`
	BoundEntities []*ProcEntity `json:"boundEntities"`
}

type ProcNodeObjList

type ProcNodeObjList []*ProcNodeObj

func (ProcNodeObjList) Len

func (s ProcNodeObjList) Len() int

func (ProcNodeObjList) Less

func (s ProcNodeObjList) Less(i, j int) bool

func (ProcNodeObjList) Swap

func (s ProcNodeObjList) Swap(i, j int)

type ProcNodeQueryResponse

type ProcNodeQueryResponse struct {
	Status  string         `json:"status"`
	Message string         `json:"message"`
	Data    []*ProcNodeObj `json:"data"`
}

type ProcQueryResponse

type ProcQueryResponse struct {
	Status  string        `json:"status"`
	Message string        `json:"message"`
	Data    []*ProcDefObj `json:"data"`
}

type QueryRequestDialect

type QueryRequestDialect struct {
	AssociatedData map[string]string `json:"associatedData"`
	QueryMode      string            `json:"queryMode"`
}

type QueryRequestFilterObj

type QueryRequestFilterObj struct {
	Name     string      `json:"name"`
	Operator string      `json:"operator"`
	Value    interface{} `json:"value"`
}

type QueryRequestParam

type QueryRequestParam struct {
	Filters       []*QueryRequestFilterObj `json:"filters"`
	Dialect       *QueryRequestDialect     `json:"dialect"`
	Paging        bool                     `json:"paging"`
	Pageable      *PageInfo                `json:"pageable"`
	Sorting       *QueryRequestSorting     `json:"sorting"`
	ResultColumns []string                 `json:"resultColumns"`
}

type QueryRequestSorting

type QueryRequestSorting struct {
	Asc   bool   `json:"asc"`
	Field string `json:"field"`
}

type RefSelectParam

type RefSelectParam struct {
	AttrId    string             `json:"attrId"`
	RequestId string             `json:"requestId"`
	UserToken string             `json:"-"`
	Filter    string             `json:"filter"`
	Param     *QueryRequestParam `json:"param"`
}

type RequestCacheData

type RequestCacheData struct {
	ProcDefId         string                         `json:"procDefId"`
	ProcDefKey        string                         `json:"procDefKey"`
	RootEntityValue   RequestCacheEntityValue        `json:"rootEntityValue"`
	TaskNodeBindInfos []*RequestCacheTaskNodeBindObj `json:"taskNodeBindInfos"`
}

type RequestCacheEntityAttrValue

type RequestCacheEntityAttrValue struct {
	DataOid   string      `json:"-"`
	AttrDefId string      `json:"attrDefId"`
	AttrName  string      `json:"attrName"`
	DataType  string      `json:"dataType"`
	DataValue interface{} `json:"dataValue"`
}

type RequestCacheEntityValue

type RequestCacheEntityValue struct {
	AttrValues        []*RequestCacheEntityAttrValue `json:"attrValues"`
	BindFlag          string                         `json:"bindFlag"`
	EntityDataId      string                         `json:"entityDataId"`
	EntityDataOp      string                         `json:"entityDataOp"`
	EntityDataState   string                         `json:"entityDataState"`
	EntityDefId       string                         `json:"entityDefId"`
	EntityName        string                         `json:"entityName"`
	EntityDisplayName string                         `json:"entityDisplayName"`
	FullEntityDataId  interface{}                    `json:"fullEntityDataId"`
	Oid               string                         `json:"oid"`
	PackageName       string                         `json:"packageName"`
	PreviousOids      []string                       `json:"previousOids"`
	Processed         bool                           `json:"processed"`
	SucceedingOids    []string                       `json:"succeedingOids"`
}

type RequestCacheTaskNodeBindObj

type RequestCacheTaskNodeBindObj struct {
	BoundEntityValues []*RequestCacheEntityValue `json:"boundEntityValues"`
	NodeDefId         string                     `json:"nodeDefId"`
	NodeId            string                     `json:"nodeId"`
}

type RequestPreDataDto

type RequestPreDataDto struct {
	RootEntityId string                    `json:"rootEntityId"`
	Data         []*RequestPreDataTableObj `json:"data"`
}

type RequestPreDataSort

type RequestPreDataSort []*RequestPreDataTableObj

func (RequestPreDataSort) Len

func (s RequestPreDataSort) Len() int

func (RequestPreDataSort) Less

func (s RequestPreDataSort) Less(i, j int) bool

func (RequestPreDataSort) Swap

func (s RequestPreDataSort) Swap(i, j int)

type RequestPreDataTableObj

type RequestPreDataTableObj struct {
	PackageName   string                   `json:"packageName"`
	Entity        string                   `json:"entity"`
	ItemGroup     string                   `json:"itemGroup"`
	ItemGroupName string                   `json:"itemGroupName"`
	RefEntity     []string                 `json:"-"`
	SortLevel     int                      `json:"-"`
	Title         []*FormItemTemplateTable `json:"title"`
	Value         []*EntityTreeObj         `json:"value"`
}

type RequestProcessData

type RequestProcessData struct {
	ProcDefId     string                           `json:"procDefId"`
	ProcDefKey    string                           `json:"procDefKey"`
	RootEntityOid string                           `json:"rootEntityOid"`
	Entities      []*RequestCacheEntityValue       `json:"entities"`
	Bindings      []*RequestProcessTaskNodeBindObj `json:"bindings"`
}

type RequestProcessTaskNodeBindObj

type RequestProcessTaskNodeBindObj struct {
	NodeId       string `json:"nodeId"`
	NodeDefId    string `json:"nodeDefId"`
	Oid          string `json:"oid"`
	EntityDataId string `json:"entityDataId"`
	BindFlag     string `json:"bindFlag"`
}

type RequestTable

type RequestTable struct {
	Id                  string             `json:"id" xorm:"id"`
	Name                string             `json:"name" xorm:"name"`
	Form                string             `json:"form" xorm:"form"`
	RequestTemplate     string             `json:"requestTemplate" xorm:"request_template"`
	RequestTemplateName string             `json:"requestTemplateName" xorm:"-"`
	ProcInstanceId      string             `json:"procInstanceId" xorm:"proc_instance_id"`
	ProcInstanceKey     string             `json:"procInstanceKey" xorm:"proc_instance_key"`
	Reporter            string             `json:"reporter" xorm:"reporter"`
	Handler             string             `json:"handler" xorm:"handler"`
	ReportTime          string             `json:"reportTime" xorm:"report_time"`
	Emergency           int                `json:"emergency" xorm:"emergency"`
	ReportRole          string             `json:"reportRole" xorm:"report_role"`
	Status              string             `json:"status" xorm:"status"`
	Cache               string             `json:"cache" xorm:"cache"`
	BindCache           string             `json:"bindCache" xorm:"bind_cache"`
	Result              string             `json:"result" xorm:"result"`
	ExpireTime          string             `json:"expireTime" xorm:"expire_time"`
	ExpectTime          string             `json:"expectTime" xorm:"expect_time"`
	ConfirmTime         string             `json:"confirmTime" xorm:"confirm_time"`
	CreatedBy           string             `json:"createdBy" xorm:"created_by"`
	CreatedTime         string             `json:"createdTime" xorm:"created_time"`
	UpdatedBy           string             `json:"updatedBy" xorm:"updated_by"`
	UpdatedTime         string             `json:"updatedTime" xorm:"updated_time"`
	DelFlag             int                `json:"delFlag" xorm:"del_flag"`
	HandleRoles         []string           `json:"handleRoles" xorm:"-"`
	AttachFiles         []*AttachFileTable `json:"attachFiles" xorm:"-"`
}

type RequestTemplateExport

type RequestTemplateExport struct {
	RequestTemplate      RequestTemplateTable        `json:"requestTemplate"`
	FormTemplate         []*FormTemplateTable        `json:"formTemplate"`
	FormItemTemplate     []*FormItemTemplateTable    `json:"formItemTemplate"`
	RequestTemplateRole  []*RequestTemplateRoleTable `json:"requestTemplateRole"`
	TaskTemplate         []*TaskTemplateTable        `json:"taskTemplate"`
	TaskTemplateRole     []*TaskTemplateRoleTable    `json:"taskTemplateRole"`
	RequestTemplateGroup RequestTemplateGroupTable   `json:"requestTemplateGroup"`
}

type RequestTemplateFormStruct

type RequestTemplateFormStruct struct {
	Id            string                    `json:"id"`
	Name          string                    `json:"name"`
	PackageName   string                    `json:"packageName"`
	EntityName    string                    `json:"entityName"`
	ProcDefKey    string                    `json:"procDefKey"`
	ProcDefId     string                    `json:"procDefId"`
	ProcDefName   string                    `json:"procDefName"`
	FormItems     []*FormItemTemplateTable  `json:"formItems"`
	TaskTemplates []*TaskTemplateFormStruct `json:"taskTemplates"`
}

type RequestTemplateGroupTable

type RequestTemplateGroupTable struct {
	Id            string    `json:"id" xorm:"id"`
	Name          string    `json:"name" xorm:"name" binding:"required"`
	Description   string    `json:"description" xorm:"description"`
	ManageRole    string    `json:"manageRole" xorm:"manage_role" binding:"required"`
	ManageRoleObj RoleTable `json:"manageRoleObj" xorm:"-"`
	CreatedBy     string    `json:"createdBy" xorm:"created_by"`
	CreatedTime   string    `json:"createdTime" xorm:"created_time"`
	UpdatedBy     string    `json:"updatedBy" xorm:"updated_by"`
	UpdatedTime   string    `json:"updatedTime" xorm:"updated_time"`
	DelFlag       int       `json:"delFlag" xorm:"del_flag"`
}

type RequestTemplateQueryObj

type RequestTemplateQueryObj struct {
	RequestTemplateTable
	MGMTRoles      []*RoleTable `json:"mgmtRoles"`
	USERoles       []*RoleTable `json:"useRoles"`
	OperateOptions []string     `json:"operateOptions"`
}

type RequestTemplateRoleTable

type RequestTemplateRoleTable struct {
	Id              string `json:"id" xorm:"id"`
	RequestTemplate string `json:"requestTemplate" xorm:"request_template"`
	Role            string `json:"role" xorm:"role"`
	RoleType        string `json:"roleType" xorm:"role_type"`
}

type RequestTemplateTable

type RequestTemplateTable struct {
	Id           string `json:"id" xorm:"id"`
	Group        string `json:"group" xorm:"group"`
	Name         string `json:"name" xorm:"name"`
	Description  string `json:"description" xorm:"description"`
	FormTemplate string `json:"formTemplate" xorm:"form_template"`
	Tags         string `json:"tags" xorm:"tags"`
	Status       string `json:"status" xorm:"status"`
	RecordId     string `json:"recordId" xorm:"record_id"`
	Version      string `json:"version" xorm:"version"`
	ConfirmTime  string `json:"confirmTime" xorm:"confirm_time"`
	PackageName  string `json:"packageName" xorm:"package_name"`
	EntityName   string `json:"entityName" xorm:"entity_name"`
	ProcDefKey   string `json:"procDefKey" xorm:"proc_def_key"`
	ProcDefId    string `json:"procDefId" xorm:"proc_def_id"`
	ProcDefName  string `json:"procDefName" xorm:"proc_def_name"`
	CreatedBy    string `json:"createdBy" xorm:"created_by"`
	CreatedTime  string `json:"createdTime" xorm:"created_time"`
	UpdatedBy    string `json:"updatedBy" xorm:"updated_by"`
	UpdatedTime  string `json:"updatedTime" xorm:"updated_time"`
	EntityAttrs  string `json:"entityAttrs" xorm:"entity_attrs"`
	ExpireDay    int    `json:"expireDay" xorm:"expire_day"`
	Handler      string `json:"handler" xorm:"handler"`
	DelFlag      int    `json:"delFlag" xorm:"del_flag"`
}

type RequestTemplateUpdateParam

type RequestTemplateUpdateParam struct {
	RequestTemplateTable
	MGMTRoles []string `json:"mgmtRoles"`
	USERoles  []string `json:"useRoles"`
}

type ResponseErrorJson

type ResponseErrorJson struct {
	StatusCode    string      `json:"statusCode"`
	StatusMessage string      `json:"statusMessage"`
	Data          interface{} `json:"data"`
}

type ResponseErrorObj

type ResponseErrorObj struct {
	ErrorMessage string `json:"errorMessage"`
}

type ResponseJson

type ResponseJson struct {
	StatusCode string      `json:"statusCode"`
	Data       interface{} `json:"data"`
}

type ResponsePageData

type ResponsePageData struct {
	PageInfo PageInfo    `json:"pageInfo"`
	Contents interface{} `json:"contents"`
}

type RoleTable

type RoleTable struct {
	Id          string `json:"id" xorm:"id"`
	DisplayName string `json:"displayName" xorm:"display_name"`
	UpdatedTime string `json:"updatedTime" xorm:"updated_time"`
	CoreId      string `json:"coreId" xorm:"core_id"`
	Email       string `json:"email"`
}

type StartInstanceResult

type StartInstanceResult struct {
	Status  string                  `json:"status"`
	Message string                  `json:"message"`
	Data    StartInstanceResultData `json:"data"`
}

type StartInstanceResultData

type StartInstanceResultData struct {
	Id          int    `json:"id"`
	ProcInstKey string `json:"procInstKey"`
	ProcDefId   string `json:"procDefId"`
	ProcDefKey  string `json:"procDefKey"`
	Status      string `json:"status"`
}

type SyncDataModelCiAttr

type SyncDataModelCiAttr struct {
	Name             string `json:"name" xorm:"name"`
	EntityName       string `json:"entityName" xorm:"ci_type"`
	Description      string `json:"description" xorm:"description"`
	DataType         string `json:"dataType" xorm:"input_type"`
	RefPackageName   string `json:"refPackageName" xorm:"-"`
	RefEntityName    string `json:"refEntityName" xorm:"ref_ci_type"`
	RefAttributeName string `json:"refAttributeName" xorm:"-"`
	Required         string `json:"required" xorm:"nullable"`
	Multiple         string `json:"multiple"`
}

type SyncDataModelCiType

type SyncDataModelCiType struct {
	Name        string                 `json:"name" xorm:"id"`
	DisplayName string                 `json:"displayName" xorm:"display_name"`
	Description string                 `json:"description" xorm:"description"`
	Attributes  []*SyncDataModelCiAttr `json:"attributes" xorm:"-"`
}

type SyncDataModelResponse

type SyncDataModelResponse struct {
	Status  string                 `json:"status"`
	Message string                 `json:"message"`
	Data    []*SyncDataModelCiType `json:"data"`
}

type SysCiTypeAttrTable

type SysCiTypeAttrTable struct {
	Id                      string `json:"ciTypeAttrId" xorm:"id"`
	CiType                  string `json:"ciTypeId" xorm:"ci_type"`
	Name                    string `json:"propertyName" xorm:"name"`
	DisplayNameTmp          string `json:"displayName" xorm:"-"`
	DisplayName             string `json:"name" xorm:"display_name"`
	Description             string `json:"description" xorm:"description"`
	Status                  string `json:"status" xorm:"status"`
	InputType               string `json:"inputType" xorm:"input_type"`
	DataType                string `json:"propertyType" xorm:"data_type"`
	DataLength              int    `json:"length" xorm:"data_length"`
	TextValidate            string `json:"regularExpressionRule" xorm:"text_validate"`
	RefCiType               string `json:"referenceId" xorm:"ref_ci_type"`
	RefName                 string `json:"referenceName" xorm:"ref_name"`
	RefType                 string `json:"referenceType" xorm:"ref_type"`
	RefFilter               string `json:"referenceFilter" xorm:"ref_filter"`
	RefUpdateStateValidate  string `json:"refUpdateStateValidate" xorm:"ref_update_state_validate"`
	RefConfirmStateValidate string `json:"refConfirmStateValidate" xorm:"ref_confirm_state_validate"`
	SelectList              string `json:"selectList" xorm:"select_list"`
	UiSearchOrder           int    `json:"uiSearchOrder" xorm:"ui_search_order"`
	UiFormOrder             int    `json:"uiFormOrder" xorm:"ui_form_order"`
	UniqueConstraint        string `json:"uniqueConstraint" xorm:"unique_constraint"`
	UiNullable              string `json:"uiNullable" xorm:"ui_nullable"`
	Nullable                string `json:"nullable" xorm:"nullable"`
	Editable                string `json:"editable" xorm:"editable"`
	DisplayByDefault        string `json:"displayByDefault" xorm:"display_by_default"`
	PermissionUsage         string `json:"permissionUsage" xorm:"permission_usage"`
	ResetOnEdit             string `json:"resetOnEdit" xorm:"reset_on_edit"`
	Source                  string `json:"source" xorm:"source"`
	Customizable            string `json:"customizable" xorm:"customizable"`
	AutofillAble            string `json:"autofillable" xorm:"autofillable"`
	AutofillRule            string `json:"autoFillRule" xorm:"autofill_rule"`
	AutofillType            string `json:"autoFillType" xorm:"autofill_type"`
	EditGroupControl        string `json:"editGroupControl" xorm:"edit_group_control"`
	EditGroupValues         string `json:"editGroupValues" xorm:"edit_group_value"`
}

type SysLogTable

type SysLogTable struct {
	LogCat      string `json:"logCat" xorm:"log_cat"`
	Operator    string `json:"operator" xorm:"operator"`
	Operation   string `json:"operation" xorm:"operation"`
	Content     string `json:"content" xorm:"content"`
	RequestUrl  string `json:"requestUrl" xorm:"request_url"`
	ClientHost  string `json:"clientHost" xorm:"client_host"`
	CreatedDate string `json:"createdDate" xorm:"created_date"`
	DataCiType  string `json:"dataCiType" xorm:"data_ci_type"`
	DataGuid    string `json:"dataGuid" xorm:"data_guid"`
	DataKeyName string `json:"dataKeyName" xorm:"data_key_name"`
	Response    string `json:"response" xorm:"response"`
}

type TaskApproveParam

type TaskApproveParam struct {
	FormData    []*RequestPreDataTableObj `json:"formData"`
	Comment     string                    `json:"comment"`
	ChoseOption string                    `json:"choseOption"`
}

type TaskFormItemQueryObj

type TaskFormItemQueryObj struct {
	Id               string `json:"id" xorm:"id"`
	Form             string `json:"form" xorm:"form"`
	FormItemTemplate string `json:"formItemTemplate" xorm:"form_item_template"`
	Name             string `json:"name" xorm:"name"`
	Value            string `json:"value" xorm:"value"`
	ItemGroup        string `json:"itemGroup" xorm:"item_group"`
	RowDataId        string `json:"rowDataId" xorm:"row_data_id"`
	AttrDefDataType  string `json:"attrDefDataType" xorm:"attr_def_data_type"`
	ElementType      string `json:"elementType" xorm:"element_type"`
}

type TaskListObj

type TaskListObj struct {
	Id               string       `json:"id" xorm:"id"`
	Name             string       `json:"name" xorm:"name"`
	Description      string       `json:"description" xorm:"description"`
	Status           string       `json:"status" xorm:"status"`
	Request          string       `json:"request" xorm:"request"`
	TaskTemplate     string       `json:"taskTemplate" xorm:"task_template"`
	NodeDefId        string       `json:"nodeDefId" xorm:"node_def_id"`
	NodeName         string       `json:"nodeName" xorm:"node_name"`
	Emergency        int          `json:"emergency" xorm:"emergency"`
	Result           string       `json:"result" xorm:"result"`
	Reporter         string       `json:"reporter" xorm:"reporter"`
	ReportTime       string       `json:"reportTime" xorm:"report_time"`
	ReportRole       string       `json:"reportRole" xorm:"report_role"`
	Handler          string       `json:"handler" xorm:"handler"`
	NextOption       string       `json:"nextOption" xorm:"next_option"`
	ChoseOption      string       `json:"choseOption" xorm:"chose_option"`
	CreatedBy        string       `json:"createdBy" xorm:"created_by"`
	CreatedTime      string       `json:"createdTime" xorm:"created_time"`
	UpdatedBy        string       `json:"updatedBy" xorm:"updated_by"`
	UpdatedTime      string       `json:"updatedTime" xorm:"updated_time"`
	OperationOptions []string     `json:"operationOptions" xorm:"-"`
	ExpireTime       string       `json:"expireTime" xorm:"expire_time"`
	HandleRoles      []string     `json:"handleRoles" xorm:"-"`
	RequestObj       RequestTable `json:"requestObj" xorm:"-"`
	ExpirePercentObj ExpireObj    `json:"expireObj"`
}

type TaskMetaResult

type TaskMetaResult struct {
	Status  string             `json:"status"`
	Message string             `json:"message"`
	Data    TaskMetaResultData `json:"data"`
}

type TaskMetaResultData

type TaskMetaResultData struct {
	FormMetaId    string                `json:"formMetaId"`
	FormItemMetas []*TaskMetaResultItem `json:"formItemMetas"`
}

type TaskMetaResultItem

type TaskMetaResultItem struct {
	FormItemMetaId string `json:"formItemMetaId"`
	PackageName    string `json:"packageName"`
	EntityName     string `json:"entityName"`
	AttrName       string `json:"attrName"`
}

type TaskQueryObj

type TaskQueryObj struct {
	RequestId       string                    `json:"requestId"`
	RequestName     string                    `json:"requestName"`
	RequestTemplate string                    `json:"requestTemplate"`
	ProcInstanceId  string                    `json:"procInstanceId"`
	Description     string                    `json:"description"`
	TaskId          string                    `json:"taskId"`
	TaskName        string                    `json:"taskName"`
	Reporter        string                    `json:"reporter"`
	ReportTime      string                    `json:"reportTime"`
	Comment         string                    `json:"comment"`
	AttachFiles     []*AttachFileTable        `json:"attachFiles"`
	Editable        bool                      `json:"editable"`
	Status          string                    `json:"status"`
	NextOption      []string                  `json:"nextOption"`
	ChoseOption     string                    `json:"choseOption"`
	ExpireTime      string                    `json:"expireTime"`
	ExpectTime      string                    `json:"expectTime"`
	Handler         string                    `json:"handler"`
	HandleTime      string                    `json:"handleTime"`
	FormData        []*RequestPreDataTableObj `json:"formData"`
}

type TaskQueryResult

type TaskQueryResult struct {
	TimeStep []*TaskQueryTimeStep `json:"timeStep"`
	Data     []*TaskQueryObj      `json:"data"`
}

type TaskQueryTimeStep

type TaskQueryTimeStep struct {
	RequestTemplateId string `json:"requestTemplateId"`
	TaskTemplateId    string `json:"taskTemplateId"`
	Name              string `json:"name"`
	Active            bool   `json:"active"`
	Done              bool   `json:"done"`
}

type TaskTable

type TaskTable struct {
	Id                string   `json:"id" xorm:"id"`
	Name              string   `json:"name" xorm:"name"`
	Description       string   `json:"description" xorm:"description"`
	Form              string   `json:"form" xorm:"form"`
	AttachFile        string   `json:"attachFile" xorm:"attach_file"`
	Status            string   `json:"status" xorm:"status"`
	Version           string   `json:"version" xorm:"version"`
	Request           string   `json:"request" xorm:"request"`
	Parent            string   `json:"parent" xorm:"parent"`
	TaskTemplate      string   `json:"taskTemplate" xorm:"task_template"`
	PackageName       string   `json:"packageName" xorm:"package_name"`
	EntityName        string   `json:"entityName" xorm:"entity_name"`
	ProcDefId         string   `json:"procDefId" xorm:"proc_def_id"`
	ProcDefKey        string   `json:"procDefKey" xorm:"proc_def_key"`
	ProcDefName       string   `json:"procDefName" xorm:"proc_def_name"`
	NodeDefId         string   `json:"nodeDefId" xorm:"node_def_id"`
	NodeName          string   `json:"nodeName" xorm:"node_name"`
	CallbackUrl       string   `json:"callbackUrl" xorm:"callback_url"`
	CallbackParameter string   `json:"callbackParameter" xorm:"callback_parameter"`
	CallbackData      string   `json:"callbackData" xorm:"callback_data"`
	Emergency         int      `json:"emergency" xorm:"emergency"`
	Result            string   `json:"result" xorm:"result"`
	Cache             string   `json:"cache" xorm:"cache"`
	CallbackRequestId string   `json:"callbackRequestId" xorm:"callback_request_id"`
	Reporter          string   `json:"reporter" xorm:"reporter"`
	ReportTime        string   `json:"reportTime" xorm:"report_time"`
	ReportRole        string   `json:"reportRole" xorm:"report_role"`
	Handler           string   `json:"handler" xorm:"handler"`
	NextOption        string   `json:"nextOption" xorm:"next_option"`
	ChoseOption       string   `json:"choseOption" xorm:"chose_option"`
	CreatedBy         string   `json:"createdBy" xorm:"created_by"`
	CreatedTime       string   `json:"createdTime" xorm:"created_time"`
	UpdatedBy         string   `json:"updatedBy" xorm:"updated_by"`
	UpdatedTime       string   `json:"updatedTime" xorm:"updated_time"`
	DelFlag           string   `json:"delFlag" xorm:"del_flag"`
	OperationOptions  []string `json:"operationOptions" xorm:"-"`
	ExpireTime        string   `json:"expireTime" xorm:"expire_time"`
	NotifyCount       int      `json:"notifyCount" xorm:"notify_count"`
}

type TaskTemplateDto

type TaskTemplateDto struct {
	Id           string                   `json:"id"`
	NodeId       string                   `json:"nodeId"`
	NodeDefId    string                   `json:"nodeDefId"`
	NodeDefName  string                   `json:"nodeDefName"`
	Name         string                   `json:"name"`
	Description  string                   `json:"description"`
	ExpireDay    int                      `json:"expireDay"`
	Handler      string                   `json:"handler"`
	UpdatedTime  string                   `json:"updatedTime"`
	UpdatedBy    string                   `json:"updatedBy"`
	MGMTRoles    []string                 `json:"mgmtRoles"`
	USERoles     []string                 `json:"useRoles"`
	MGMTRoleObjs []*RoleTable             `json:"mgmtRoleObjs"`
	USERoleObjs  []*RoleTable             `json:"useRoleObjs"`
	Items        []*FormItemTemplateTable `json:"items"`
}

type TaskTemplateFormStruct

type TaskTemplateFormStruct struct {
	Id          string                   `json:"id"`
	Name        string                   `json:"name"`
	NodeDefId   string                   `json:"nodeDefId"`
	NodeDefName string                   `json:"nodeDefName"`
	FormItems   []*FormItemTemplateTable `json:"formItems"`
}

type TaskTemplateRoleTable

type TaskTemplateRoleTable struct {
	Id           string `json:"id" xorm:"id"`
	TaskTemplate string `json:"taskTemplate" xorm:"task_template"`
	Role         string `json:"role" xorm:"role"`
	RoleType     string `json:"roleType" xorm:"role_type"`
}

type TaskTemplateTable

type TaskTemplateTable struct {
	Id              string `json:"id" xorm:"id"`
	Name            string `json:"name" xorm:"name"`
	Description     string `json:"description" xorm:"description"`
	FormTemplate    string `json:"formTemplate" xorm:"form_template"`
	RequestTemplate string `json:"requestTemplate" xorm:"request_template"`
	NodeId          string `json:"nodeId" xorm:"node_id"`
	NodeDefId       string `json:"nodeDefId" xorm:"node_def_id"`
	NodeName        string `json:"nodeName" xorm:"node_name"`
	ExpireDay       int    `json:"expireDay" xorm:"expire_day"`
	Handler         string `json:"handler" xorm:"handler"`
	CreatedBy       string `json:"createdBy" xorm:"created_by"`
	CreatedTime     string `json:"createdTime" xorm:"created_time"`
	UpdatedBy       string `json:"updatedBy" xorm:"updated_by"`
	UpdatedTime     string `json:"updatedTime" xorm:"updated_time"`
	DelFlag         int    `json:"delFlag" xorm:"del_flag"`
}

type TerminateInstanceParam

type TerminateInstanceParam struct {
	ProcInstId  string `json:"procInstId"`
	ProcInstKey string `json:"procInstKey"`
}

type TransFiltersParam

type TransFiltersParam struct {
	IsStruct   bool
	StructObj  interface{}
	Prefix     string
	KeyMap     map[string]string
	PrimaryKey string
}

type UserRequestTemplateQueryObj

type UserRequestTemplateQueryObj struct {
	GroupId          string                       `json:"groupId"`
	GroupName        string                       `json:"groupName"`
	GroupDescription string                       `json:"groupDescription"`
	Templates        []*RequestTemplateTable      `json:"-"`
	Tags             []*UserRequestTemplateTagObj `json:"tags"`
}

type UserRequestTemplateTagObj

type UserRequestTemplateTagObj struct {
	Tag       string                  `json:"tag"`
	Templates []*RequestTemplateTable `json:"templates"`
}

type WecubeConfig

type WecubeConfig struct {
	BaseUrl       string `json:"base_url"`
	JwtSigningKey string `json:"jwt_signing_key"`
	SubSystemCode string `json:"sub_system_code"`
	SubSystemKey  string `json:"sub_system_key"`
}

type WorkflowEntityDataObj

type WorkflowEntityDataObj struct {
	Id          string `json:"id"`
	DisplayName string `json:"displayName"`
}

type WorkflowEntityQuery

type WorkflowEntityQuery struct {
	Status  string                   `json:"status"`
	Message string                   `json:"message"`
	Data    []*WorkflowEntityDataObj `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL