Documentation ¶
Index ¶
- Constants
- Variables
- func InitConfig(configFile string) (errMessage string)
- func ValidateNormalString(input string) bool
- type ActionFuncParam
- type AttrAutofillSortList
- type AttrAutofillSortObj
- type AttrRefFilterLegalObj
- type AuthConfig
- type AutoActiveHandleParam
- type AutofillChainCiColumn
- type AutofillChainObj
- type AutofillFilterObj
- type AutofillObj
- type AutofillRuleList
- type AutofillValueAttrObj
- type AutofillValueObj
- type BaseKeyCodeCreateObj
- type BaseKeyCodeSwapPositionParam
- type BuildAttrValueParam
- type CiAttrSwapPositionParam
- type CiDataActionQuery
- type CiDataActionQueryTitle
- type CiDataCallbackParam
- type CiDataColumnObj
- type CiDataLegalGuidList
- type CiDataMapObj
- type CiDataObjectErrOutput
- type CiDataPermission
- type CiDataQueryRefAttrObj
- type CiDataRefDataObj
- type CiDataRefFilterObj
- type CiDataRefFilterRight
- type CiQueryColumnList
- type CiQueryColumnObj
- type CiSwapPositionParam
- type CiTypePermissionObj
- type CiTypeQuery
- type CiTypeQueryCiObj
- type CiTypeQueryGroupObj
- type CiTypeReferenceObj
- type CodeProcessQueryObj
- type ConditionListQueryObj
- type CoreProcessQueryResponse
- type CoreProcessRequest
- type CoreProcessResult
- type CoreProcessResultData
- type CoreRoleDataObj
- type CoreRoleDto
- type CoreStartProcess
- type CoreStartProcessData
- type DatabaseConfig
- type DatabaseTableList
- type DefaultReportObjAttrConfig
- type EntityQueryObj
- type EntityQueryParam
- type EntityResponse
- type ExportReportCiData
- type ExportReportParam
- type ExportReportResult
- type GetStateMachineList
- type GlobalConfig
- type GraphElementNode
- type GraphQuery
- type GraphViewData
- type HandleCiDataParam
- type HistoryGuidObj
- type HttpServerConfig
- type ImportStateMachineResult
- type LogConfig
- type LoginOutputObj
- type LoginParam
- type MenuApiMapConfig
- type MenuApiMapObj
- type MenuApiUrlObj
- type ModifyReport
- type ModifyReportObject
- type ModifyReportObjectAttr
- type MultiCiDataObj
- type MultiRefTable
- type OptionItemObj
- type PageInfo
- type PlatformDataModel
- type PlatformDataModelEntity
- type PlatformEntityQueryResponse
- type PluginCiDataAttrValueRequest
- type PluginCiDataAttrValueRequestObj
- type PluginCiDataOperationOutput
- type PluginCiDataOperationOutputObj
- type PluginCiDataOperationRequest
- type PluginCiDataOperationRequestObj
- type PluginCiDataOperationResp
- type PluginViewConfirmOutput
- type PluginViewConfirmOutputObj
- type PluginViewConfirmRequest
- type PluginViewConfirmRequestObj
- type PluginViewConfirmResp
- type ProcEntity
- type QueryReport
- type QueryReportObject
- type QueryReportObjectAttr
- type QueryRequestDialect
- type QueryRequestFilterObj
- type QueryRequestParam
- type QueryRequestSorting
- type ReportHistoryCiDataStatistics
- type ReportObjectNode
- type ResponseErrorJson
- type ResponseErrorObj
- type ResponseJson
- type ResponsePageData
- type RoleAttrConditionExtendObj
- type RoleAttrConditionHeaderObj
- type RoleAttrConditionObj
- type RoleAttrConditionResult
- type RoleAttrOptionItem
- type RoleCiTypePermissionObj
- type RolePermissionQuery
- type SyncDataModelCiAttr
- type SyncDataModelCiType
- type SyncDataModelResponse
- type SysBaseKeyCatTable
- type SysBaseKeyCodeTable
- type SysCiImportGuidMap
- type SysCiImportGuidMapTable
- type SysCiTemplateAttrTable
- type SysCiTemplateTable
- type SysCiTypeAttrTable
- type SysCiTypeTable
- type SysFilesTable
- type SysGraphElementTable
- type SysGraphTable
- type SysLogTable
- type SysMenuTable
- type SysReportImportHistoryObj
- type SysReportImportHistoryResult
- type SysReportImportHistoryTable
- type SysReportObjectAttrTable
- type SysReportObjectFilterTable
- type SysReportObjectTable
- type SysReportTable
- type SysRoleCiTypeConditionFilterTable
- type SysRoleCiTypeConditionTable
- type SysRoleCiTypeListTable
- type SysRoleCiTypeTable
- type SysRoleMenuTable
- type SysRoleReportTable
- type SysRoleTable
- type SysRoleUserTable
- type SysRoleViewTable
- type SysStateMachineTable
- type SysStateTable
- type SysStateTransitionQuery
- type SysStateTransitionTable
- type SysUserTable
- type SysViewTable
- type SysWecubeProcessTable
- type TransFiltersParam
- type UpdatePasswordParam
- type UpdateRoleMenuParam
- type UpdateRoleUserParam
- type UpdateViewParam
- type ViewData
- type ViewQuery
- type WecubeConfig
Constants ¶
View Source
const ( DateTimeFormat = "2006-01-02 15:04:05" SysTableIdConnector = "__" UrlPrefix = "/wecmdb" MultiRefType = "multiRef" AutofillRuleType = "autofillRule" ObjectInputType = "object" TimeTriggerInputType = "timeTrigger" CountInputType = "count" SumInputType = "sum" AvgInputType = "avg" PasswordInputType = "password" ExtRefInputType = "extRef" AutofillSuggest = "suggest#" SystemUser = "system" AdminUser = "SUPER_ADMIN" AdminRole = "SUPER_ADMIN" SystemRole = "SUB_SYSTEM" PlatformUser = "SYS_PLATFORM" PasswordDisplay = "****" RollbackAction = "rollback" FilterTypeExpression = "expression" FilterTypeSelectList = "selectList" HeaderAuthorization = "Authorization" MultiText = "multiText" MultiInt = "multiInt" Int = "int" MultiObject = "multiObject" MultiSelect = "multiSelect" )
Variables ¶
View Source
var ( Config *GlobalConfig PluginRunningMode bool CoreToken *token.CoreToken MenuApiGlobalList []*MenuApiMapObj ProcessFetchTabs string )
View Source
var BaseElementColumns = []string{"graph", "report_object ", "show_table", "display_expression", "node_group_name", "line_start_data", "line_end_data", "line_display_position", "graph_type", "graph_shape_data", "graph_shapes", "graph_config_data", "graph_configs", "graph_filter_data", "graph_filter_values", "editable", "seq_no", "order_data", "update_operation"}
View Source
var (
CiStatusList = []string{"created", "notCreated", "dirty", "deleted"}
)
View Source
var (
SEPERATOR = string([]byte{0x01})
)
Functions ¶
func InitConfig ¶
func ValidateNormalString ¶
Types ¶
type ActionFuncParam ¶
type ActionFuncParam struct { CiType string Attributes []*SysCiTypeAttrTable ReferenceAttributes []*SysCiTypeAttrTable Transition *SysStateTransitionQuery InputData CiDataMapObj NowData CiDataMapObj Operator string Operation string NowTime string RefCiTypeMap map[string]*SysCiTypeTable UpdateColumn []string BareAction string DeleteList []string FromCore bool MultiColumnDelMap map[string][]string MultiCiData *MultiCiDataObj }
type AttrAutofillSortList ¶
type AttrAutofillSortList []*AttrAutofillSortObj
func (AttrAutofillSortList) Len ¶
func (a AttrAutofillSortList) Len() int
func (AttrAutofillSortList) Less ¶
func (a AttrAutofillSortList) Less(i, j int) bool
func (AttrAutofillSortList) Swap ¶
func (a AttrAutofillSortList) Swap(i, j int)
type AttrAutofillSortObj ¶
type AttrAutofillSortObj struct { AttrName string `json:"attr_name"` Attr *SysCiTypeAttrTable `json:"attr"` Dep []string `json:"type"` PValue int `json:"value"` Link []string `json:"link"` }
type AttrRefFilterLegalObj ¶
type AuthConfig ¶
type AutoActiveHandleParam ¶
type AutofillChainCiColumn ¶
type AutofillChainObj ¶
type AutofillFilterObj ¶
type AutofillObj ¶
type AutofillRuleList ¶
type AutofillRuleList []*AutofillValueObj
Try to build sql to impl autofill
func (AutofillRuleList) BuildBaseSql ¶
func (af AutofillRuleList) BuildBaseSql(prefix string) (sql, column string)
type AutofillValueAttrObj ¶
type AutofillValueObj ¶
type AutofillValueObj struct { CiTypeId string `json:"ciTypeId"` ParentRs *AutofillValueAttrObj `json:"parentRs"` Filters []*AutofillFilterObj `json:"filters"` }
type BaseKeyCodeCreateObj ¶
type BuildAttrValueParam ¶
type BuildAttrValueParam struct { IsSystem bool NowTime string AttributeConfig *SysCiTypeAttrTable InputData CiDataMapObj Action string FromCore bool NowData CiDataMapObj MultiCiData *MultiCiDataObj }
type CiAttrSwapPositionParam ¶
type CiDataActionQuery ¶
type CiDataActionQuery struct { Title []*CiDataActionQueryTitle `json:"title"` Data []map[string]interface{} `json:"data"` Selectable bool `json:"selectable"` }
type CiDataActionQueryTitle ¶
type CiDataCallbackParam ¶
type CiDataColumnObj ¶
type CiDataLegalGuidList ¶
type CiDataMapObj ¶
type CiDataObjectErrOutput ¶
type CiDataPermission ¶
type CiDataQueryRefAttrObj ¶
type CiDataQueryRefAttrObj struct { Attribute *SysCiTypeAttrTable GuidList []string HistoryGuidList []*HistoryGuidObj RefObj map[string]*CiDataRefDataObj MultiGuidList []string MultiRefObj map[string][]*CiDataRefDataObj }
type CiDataRefDataObj ¶
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 CiQueryColumnList ¶
type CiQueryColumnList []*CiQueryColumnObj
func (CiQueryColumnList) GetNameList ¶
func (c CiQueryColumnList) GetNameList() []string
func (CiQueryColumnList) Len ¶
func (c CiQueryColumnList) Len() int
func (CiQueryColumnList) Less ¶
func (c CiQueryColumnList) Less(i, j int) bool
func (CiQueryColumnList) Swap ¶
func (c CiQueryColumnList) Swap(i, j int)
type CiQueryColumnObj ¶
type CiSwapPositionParam ¶
type CiTypePermissionObj ¶
type CiTypePermissionObj struct { Guid string `json:"guid" xorm:"guid"` RoleId string `json:"roleId" xorm:"role_id"` CiType string `json:"ciTypeId" xorm:"ci_type"` CiTypeName string `json:"ciTypeName" xorm:"ci_type_name"` Insert string `json:"insert" xorm:"insert"` Delete string `json:"delete" xorm:"delete"` Update string `json:"update" xorm:"update"` Query string `json:"query" xorm:"query"` Execution string `json:"execute" xorm:"execute"` Confirm string `json:"confirm" xorm:"confirm"` }
type CiTypeQuery ¶
type CiTypeQuery struct { CiTypeId string `json:"ciTypeId"` GroupBy string `json:"group-by"` Group []string `json:"group"` Layer []string `json:"layer"` WithAttributes string `json:"with-attributes"` AttrInputType []string `json:"attr-input-type"` Status []string `json:"status"` AttrTypeStatus []string `json:"attr-type-status"` GroupData []*CiTypeQueryGroupObj CiTypeListData []*CiTypeQueryCiObj }
type CiTypeQueryCiObj ¶
type CiTypeQueryCiObj struct { Id string `json:"ciTypeId" xorm:"id" binding:"required"` DisplayName string `json:"name" xorm:"display_name" binding:"required"` Description string `json:"description" xorm:"description"` Status string `json:"status" xorm:"status"` ImageFile string `json:"imageFile" xorm:"image_file"` CiGroup string `json:"ciGroup" xorm:"ci_group"` CiLayer string `json:"ciLayer" xorm:"ci_layer"` CiTemplate string `json:"ciTemplate" xorm:"ci_template"` StateMachine string `json:"stateMachine" xorm:"state_machine"` SeqNo string `json:"seqNo" xorm:"seq_no"` Attributes []*SysCiTypeAttrTable `json:"attributes"` }
type CiTypeQueryGroupObj ¶
type CiTypeQueryGroupObj struct { Id string `json:"codeId" xorm:"id"` CatGuid string `json:"catId" xorm:"cat_guid"` Code string `json:"code" xorm:"code"` Value string `json:"value" xorm:"value"` Description string `json:"codeDescription" xorm:"description"` SeqNo int `json:"seqNo" xorm:"seq_no"` Status string `json:"status" xorm:"status"` CiTypes []*CiTypeQueryCiObj `json:"ciTypes"` }
type CiTypeReferenceObj ¶
type CiTypeReferenceObj struct { Id string `json:"ciTypeAttrId" xorm:"id"` CiType string `json:"ciTypeId" xorm:"ci_type"` CiTypeName string `json:"ciTypeName" xorm:"ci_type_name"` Name string `json:"propertyName" xorm:"name" binding:"required"` DisplayNameTmp string `json:"displayName" xorm:"-"` DisplayName string `json:"name" xorm:"display_name" binding:"required"` Description string `json:"description" xorm:"description"` Status string `json:"status" xorm:"status"` InputType string `json:"inputType" xorm:"input_type"` RefCiType string `json:"referenceId" xorm:"ref_ci_type"` RefName string `json:"referenceName" xorm:"ref_name"` RefType string `json:"referenceType" xorm:"ref_type"` }
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 interface{} `json:"rootEntity"` Status string `json:"status"` CreatedTime string `json:"createdTime"` CreatedUnixTime int64 `json:"-"` Tags string `json:"tags"` RootEntityExpression string `json:"rootEntityExpression"` }
type ConditionListQueryObj ¶
type ConditionListQueryObj struct { Guid string `json:"roleCiTypeConditionFilterGuid" xorm:"guid"` RoleCiTypeCondition string `json:"roleCiTypeConditionGuid" xorm:"role_ci_type_condition"` CiTypeAttr string `json:"ciTypeAttr" xorm:"ci_type_attr"` CiTypeAttrName string `json:"ciTypeAttrName" xorm:"ci_type_attr_name"` Expression string `json:"expression" xorm:"expression"` RoleCiType string `json:"roleCiType" xorm:"role_ci_type"` Insert string `json:"insert" xorm:"insert"` Delete string `json:"delete" xorm:"delete"` Update string `json:"update" xorm:"update"` Query string `json:"query" xorm:"query"` Execution string `json:"execute" xorm:"execute"` Confirm string `json:"confirm" xorm:"confirm"` FilterType string `json:"filterType" xorm:"filter_type"` SelectList string `json:"selectList" xorm:"select_list"` }
type CoreProcessQueryResponse ¶
type CoreProcessQueryResponse struct { Status string `json:"status"` Message string `json:"message"` Data []*CodeProcessQueryObj `json:"data"` }
type CoreProcessRequest ¶
type CoreProcessRequest struct { EventSeqNo string `json:"eventSeqNo"` EventType string `json:"eventType"` SourceSubSystem string `json:"sourceSubSystem"` OperationKey string `json:"operationKey"` OperationData string `json:"operationData"` NotifyRequired string `json:"notifyRequired"` NotifyEndpoint string `json:"notifyEndpoint"` OperationUser string `json:"operationUser"` OperationMode string `json:"operationMode"` }
type CoreProcessResult ¶
type CoreProcessResult struct { Status string `json:"status"` Message string `json:"message"` Data CoreProcessResultData `json:"data"` }
type CoreProcessResultData ¶
type CoreProcessResultData struct { ProcInstId interface{} `json:"procInstId"` Status string `json:"status"` TaskNodeInstances []*CoreProcessResultData `json:"taskNodeInstances"` }
type CoreRoleDataObj ¶
type CoreRoleDto ¶
type CoreRoleDto struct { Status string `json:"status"` Message string `json:"message"` Data []CoreRoleDataObj `json:"data"` }
type CoreStartProcess ¶
type CoreStartProcess struct { Status string `json:"status"` Message string `json:"message"` Data CoreStartProcessData `json:"data"` }
type CoreStartProcessData ¶
type CoreStartProcessData struct { ProcInstId string `json:"procInstId"` Status string `json:"status"` TaskNodeInstances []*CoreStartProcessData `json:"taskNodeInstances"` }
type DatabaseConfig ¶
type DatabaseTableList ¶
type DatabaseTableList struct {
TableName string `xorm:"TABLE_NAME"`
}
type EntityQueryObj ¶
type EntityQueryParam ¶
type EntityQueryParam struct { Criteria EntityQueryObj `json:"criteria"` AdditionalFilters []*EntityQueryObj `json:"additionalFilters"` }
type EntityResponse ¶
type ExportReportCiData ¶
type ExportReportParam ¶
type ExportReportResult ¶
type ExportReportResult struct { ReportId string `json:"reportId"` ExportTime string `json:"exportTime"` RootCiType string `json:"rootCiType"` CiData []*ExportReportCiData `json:"ciData"` }
type GetStateMachineList ¶
type GetStateMachineList struct { Id string `json:"id" xorm:"id"` Description string `json:"description" xorm:"description"` StartState string `json:"startState" xorm:"start_state"` FinalState string `json:"finalState" xorm:"final_state"` States []*SysStateTable `json:"states"` Transitions []*SysStateTransitionTable `json:"transitions"` }
type GlobalConfig ¶
type GlobalConfig struct { IsPluginMode string `json:"is_plugin_mode"` 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"` Auth AuthConfig `json:"auth"` MenuApiMap MenuApiMapConfig `json:"menu_api_map"` DefaultReportObjAttr []*DefaultReportObjAttrConfig `json:"default_report_obj_attr"` }
type GraphElementNode ¶
type GraphElementNode struct { // GraphElement *SysGraphElementTable `json:"graphElement" xorm:"graph_element"` Id string `json:"graphElementId" xorm:"id"` CiType string `json:"ciType" xorm:"ci_type"` DataName string `json:"dataName" xorm:"data_name"` Graph string `json:"graph" xorm:"graph"` ParentElement string `json:"parentElement" xorm:"parent_element"` ReportObject string `json:"reportObject" xorm:"report_object"` ShowTable string `json:"showTable" xorm:"show_table"` DisplayExpression string `json:"displayExpression" xorm:"display_expression"` NodeGroupName string `json:"nodeGroupName" xorm:"node_group_name"` LineStartData string `json:"lineStartData" xorm:"line_start_data"` LineEndData string `json:"lineEndData" xorm:"line_end_data"` LineDisplayPosition string `json:"lineDisplayPosition" xorm:"line_display_position"` GraphType string `json:"graphType" xorm:"graph_type"` GraphShapeData string `json:"graphShapeData" xorm:"graph_shape_data"` GraphShapes string `json:"graphShapes" xorm:"graph_shapes"` GraphConfigData string `json:"graphConfigData" xorm:"graph_config_data"` GraphConfigs string `json:"graphConfigs" xorm:"graph_configs"` EditRefAttr string `json:"-" xorm:"edit_ref_attr"` EditRefAttrName string `json:"editRefAttr" xorm:"edit_ref_attr_name"` GraphFilterData string `json:"graphFilterData" xorm:"graph_filter_data"` GraphFilterValues string `json:"graphFilterValues" xorm:"graph_filter_values"` Editable string `json:"editable" xorm:"editable"` OrderData string `json:"orderData" xorm:"order_data"` UpdateOperation string `json:"updateOperation" xorm:"update_operation"` Children []*GraphElementNode `json:"children" xorm:"children"` }
type GraphQuery ¶
type GraphQuery struct { Name string `json:"name" xorm:"name"` ViewGraphType string `json:"viewGraphType" xorm:"view_graph_type"` NodeGroups string `json:"nodeGroups" xorm:"node_groups"` GraphDir string `json:"graphDir" xorm:"graph_dir"` RootData *GraphElementNode `json:"rootData" xorm:"root_data"` GraphNodeConfig string `json:"graphNodeConfig" xorm:"graph_node_config"` GraphEdgeConfig string `json:"graphEdgeConfig" xorm:"graph_edge_config"` }
type GraphViewData ¶
type HandleCiDataParam ¶
type HistoryGuidObj ¶
type HttpServerConfig ¶
type ImportStateMachineResult ¶
type ImportStateMachineResult struct { DiffFlag bool `json:"diff_flag"` StateMachine *SysStateMachineTable `json:"state_machine"` OldStates []*SysStateTable `json:"old_states"` NewStates []*SysStateTable `json:"new_states"` OldTransitions []*SysStateTransitionTable `json:"old_transitions"` NewTransitions []*SysStateTransitionTable `json:"new_transitions"` }
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 LoginOutputObj ¶
type LoginParam ¶
type MenuApiMapConfig ¶
type MenuApiMapObj ¶
type MenuApiMapObj struct { Menu string `json:"menu"` Urls []*MenuApiUrlObj `json:"urls"` }
type MenuApiUrlObj ¶
type ModifyReport ¶
type ModifyReport struct { Id string `json:"id" xorm:"id"` Name string `json:"name" xorm:"name"` CiType string `json:"ciType" xorm:"ci_type"` CreateUser string `json:"createUser" xorm:"create_user"` UpdateUser string `json:"updateUser" xorm:"update_user"` UseRole string `json:"useRole" xorm:"use_role"` UseRoleList []string `json:"useRoleList"` MgmtRole string `json:"mgmtRole" xorm:"mgmt_role"` MgmtRoleList []string `json:"mgmtRoleList"` DataName string `json:"dataName" xorm:"data_name"` DataTitleName string `json:"dataTitleName" xorm:"data_title_name"` }
type ModifyReportObject ¶
type ModifyReportObject struct { Id string `json:"id" xorm:"id"` DataName string `json:"dataName" xorm:"data_name"` DataTitleName string `json:"dataTitleName" xorm:"data_title_name"` Report string `json:"report" xorm:"report"` ParentAttr string `json:"parentAttr" xorm:"parent_attr"` CiType string `json:"ciType" xorm:"ci_type"` MyAttr string `json:"myAttr" xorm:"my_attr"` Object []*ModifyReportObject `json:"object" xorm:"object"` Attr []*ModifyReportObjectAttr `json:"attr" xorm:"attr"` }
type ModifyReportObjectAttr ¶
type MultiCiDataObj ¶
type MultiCiDataObj struct { CiTypeId string Transition []*SysStateTransitionQuery Attributes []*SysCiTypeAttrTable ReferenceAttributes []*SysCiTypeAttrTable NowData []map[string]string InputData []CiDataMapObj RefCiTypeMap map[string]*SysCiTypeTable }
type MultiRefTable ¶
type OptionItemObj ¶
type PlatformDataModel ¶
type PlatformDataModel struct { Id string `json:"id" xorm:"id"` // 唯一标识 Version int `json:"version" xorm:"version"` // 版本 PackageName string `json:"packageName" xorm:"package_name"` // 包名 IsDynamic bool `json:"dynamic" xorm:"is_dynamic"` // 是否动态 UpdatePath string `json:"updatePath" xorm:"update_path"` // 请求路径 UpdateMethod string `json:"updateMethod" xorm:"update_method"` // 请求方法 UpdateSource string `json:"updateSource" xorm:"update_source"` // 来源 Entities []*PlatformDataModelEntity `json:"entities"` }
type PlatformDataModelEntity ¶
type PlatformDataModelEntity struct { Id string `json:"id" xorm:"id"` // 唯一标识 DataModelId string `json:"dataModelId" xorm:"data_model_id"` // 所属数据模型 DataModelVersion int `json:"dataModelVersion" xorm:"data_model_version"` // 版本 PackageName string `json:"packageName" xorm:"package_name"` // 包名 Name string `json:"name" xorm:"name"` // 模型名 DisplayName string `json:"displayName" xorm:"display_name"` // 显示名 Description string `json:"description" xorm:"description"` // 描述 }
type PlatformEntityQueryResponse ¶
type PlatformEntityQueryResponse struct { Code int `json:"code"` Status string `json:"status"` Message string `json:"message"` Data []*PlatformDataModel `json:"data"` }
type PluginCiDataAttrValueRequest ¶
type PluginCiDataAttrValueRequest struct { RequestId string `json:"requestId"` Inputs []*PluginCiDataAttrValueRequestObj `json:"inputs"` }
type PluginCiDataOperationOutput ¶
type PluginCiDataOperationOutput struct {
Outputs []*PluginCiDataOperationOutputObj `json:"outputs"`
}
type PluginCiDataOperationRequest ¶
type PluginCiDataOperationRequest struct { RequestId string `json:"requestId"` Inputs []*PluginCiDataOperationRequestObj `json:"inputs"` }
type PluginCiDataOperationResp ¶
type PluginCiDataOperationResp struct { ResultCode string `json:"resultCode"` ResultMessage string `json:"resultMessage"` Results PluginCiDataOperationOutput `json:"results"` }
type PluginViewConfirmOutput ¶
type PluginViewConfirmOutput struct {
Outputs []*PluginViewConfirmOutputObj `json:"outputs"`
}
type PluginViewConfirmRequest ¶
type PluginViewConfirmRequest struct { RequestId string `json:"requestId"` Inputs []*PluginViewConfirmRequestObj `json:"inputs"` }
type PluginViewConfirmResp ¶
type PluginViewConfirmResp struct { ResultCode string `json:"resultCode"` ResultMessage string `json:"resultMessage"` Results PluginViewConfirmOutput `json:"results"` }
type ProcEntity ¶
type QueryReport ¶
type QueryReport struct { Id string `json:"id" xorm:"id"` Name string `json:"name" xorm:"name"` CiType string `json:"ciType" xorm:"ci_type"` CreateTime string `json:"createTime" xorm:"create_time"` CreateUser string `json:"createUser" xorm:"create_user"` UpdateTime string `json:"updateTime" xorm:"update_time"` UpdateUser string `json:"updateUser" xorm:"update_user"` SqlCache string `json:"-" xorm:"sql_cache"` Object []*QueryReportObject `json:"object" xorm:"object"` }
type QueryReportObject ¶
type QueryReportObject struct { Id string `json:"id" xorm:"id"` Report string `json:"report" xorm:"report"` ParentObject string `json:"parentObject" xorm:"parent_object"` ParentAttr string `json:"parentAttr" xorm:"parent_attr"` CiType string `json:"ciType" xorm:"ci_type"` MyAttr string `json:"myAttr" xorm:"my_attr"` DataName string `json:"dataName" xorm:"data_name"` DataTitleName string `json:"dataTitleName" xorm:"data_title_name"` Object []*QueryReportObject `json:"object" xorm:"object"` Attr []*QueryReportObjectAttr `json:"attr" xorm:"attr"` }
type QueryReportObjectAttr ¶
type QueryReportObjectAttr struct { Id string `json:"id" xorm:"id"` ReportObject string `json:"reportObject" xorm:"report_object"` CiTypeAttr string `json:"ciTypeAttr" xorm:"ci_type_attr"` DataName string `json:"dataName" xorm:"data_name"` DataTitleName string `json:"dataTitleName" xorm:"data_title_name"` Querialbe string `json:"querialbe" xorm:"querialbe"` }
type QueryRequestDialect ¶
type QueryRequestFilterObj ¶
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"` WithRefRowData bool `json:"withRefRowData"` // ref选项查询时是否返回整行数据,默认否只返回guid、keyName }
type QueryRequestSorting ¶
type ReportHistoryCiDataStatistics ¶
type ReportHistoryCiDataStatistics struct { CiType string `json:"ciType" xorm:"ci_type"` CiTypeDisplayName string `json:"ciTypeDisplayName" xorm:"ci_type_display_name"` TotalCount int `json:"totalCount" xorm:"total_count"` NotPassCount int `json:"notPassCount" xorm:"not_pass_count"` IsRootCiType bool `json:"isRootCiType"` SeqNo int }
type ReportObjectNode ¶
type ReportObjectNode struct { Id string `json:"reportObjectId" xorm:"id"` Report string `json:"report" xorm:"report"` ParentObject string `json:"parentObject" xorm:"parent_object"` ParentAttr string `json:"parentAttr" xorm:"parent_attr"` CiType string `json:"ciType" xorm:"ci_type"` MyAttr string `json:"myAttr" xorm:"my_attr"` DataName string `json:"dataName" xorm:"data_name"` DataDisplayName string `json:"dataDisplayName" xorm:"data_display_name"` Status string `json:"status" xorm:"status"` ReportObjAttrName string `json:"reportObjAttrName" xorm:"report_obj_attr_name"` }
type ResponseErrorJson ¶
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 RoleAttrConditionHeaderObj ¶
type RoleAttrConditionHeaderObj struct { SysCiTypeAttrTable Options []*RoleAttrOptionItem `json:"options"` }
type RoleAttrConditionObj ¶
type RoleAttrConditionObj struct { Guid string `json:"roleConditionGuid" xorm:"guid"` RoleCiTypeId string `json:"roleCiType" xorm:"role_ci_type"` Insert string `json:"insert" xorm:"insert"` Delete string `json:"delete" xorm:"delete"` Update string `json:"update" xorm:"update"` Query string `json:"query" xorm:"query"` Execution string `json:"execute" xorm:"execute"` Confirm string `json:"confirm" xorm:"confirm"` Filters []*SysRoleCiTypeConditionFilterTable `json:"filters" xorm:"filters"` }
type RoleAttrConditionResult ¶
type RoleAttrConditionResult struct { Body []map[string]interface{} `json:"body"` Header []*RoleAttrConditionHeaderObj `json:"header"` }
type RoleAttrOptionItem ¶
type RoleCiTypePermissionObj ¶
type RoleCiTypePermissionObj struct { Conditions []*RoleAttrConditionObj List []*SysRoleCiTypeListTable }
type RolePermissionQuery ¶
type RolePermissionQuery struct { Role string `json:"-"` User string `json:"-"` MenuPermissions []string `json:"menuPermissions"` CiTypePermissions []*CiTypePermissionObj `json:"ciTypePermissionObj"` }
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 SysBaseKeyCatTable ¶
type SysBaseKeyCodeTable ¶
type SysBaseKeyCodeTable struct { Id string `json:"codeId" xorm:"id"` CatId string `json:"catId" xorm:"cat_id"` Code string `json:"code" xorm:"code"` Value string `json:"value" xorm:"value"` Description string `json:"codeDescription" xorm:"description"` SeqNo int `json:"seqNo" xorm:"seq_no"` Status string `json:"status" xorm:"status"` Cat *SysBaseKeyCatTable `json:"cat" xorm:"-"` }
type SysCiImportGuidMap ¶
type SysCiImportGuidMapTable ¶
type SysCiImportGuidMapTable struct { Id int `json:"id"` Source string `json:"source"` Target string `json:"target"` UpdateTime string `json:"updateTime"` ReportImportGuid string `json:"reportImportGuid"` CiType string `json:"ciType"` IsUnique bool `json:"isUnique"` IsNotEmpty bool `json:"isNotEmpty"` }
type SysCiTemplateAttrTable ¶
type SysCiTemplateAttrTable struct { Id string `json:"id" xorm:"id"` CiTemplate string `json:"ciTemplate" xorm:"ci_template"` Name string `json:"name" xorm:"name"` DisplayName string `json:"displayName" 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:"dataType" xorm:"data_type"` DataLength int `json:"dataLength" xorm:"data_length"` TextValidate string `json:"textValidate" xorm:"text_validate"` RefCiType string `json:"-" xorm:"ref_ci_type"` RefName string `json:"-" xorm:"ref_name"` RefType string `json:"-" xorm:"ref_type"` RefFilter string `json:"-" xorm:"ref_filter"` RefUpdateStateValidate string `json:"-" xorm:"ref_update_state_validate"` RefConfirmStateValidate string `json:"-" xorm:"ref_confirm_state_validate"` SelectList string `json:"-" 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:"-" xorm:"autofillable"` AutofillRule string `json:"-" xorm:"autofill_rule"` AutofillType string `json:"-" xorm:"autofill_type"` EditGroupControl string `json:"-" xorm:"edit_group_control"` EditGroupValues string `json:"-" xorm:"edit_group_value"` ExtRefEntity string `json:"-" xorm:"ext_ref_entity"` ConfirmNullable string `json:"confirmNullable" xorm:"confirm_nullable"` }
type SysCiTemplateTable ¶
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"` ExtRefEntity string `json:"extRefEntity" xorm:"ext_ref_entity"` ConfirmNullable string `json:"confirmNullable" xorm:"confirm_nullable"` }
type SysCiTypeTable ¶
type SysCiTypeTable struct { Id string `json:"ciTypeId" xorm:"id" binding:"required"` DisplayName string `json:"name" xorm:"display_name"` Description string `json:"description" xorm:"description"` Status string `json:"status" xorm:"status"` ImageFile string `json:"imageFile" xorm:"image_file"` FileName string `json:"fileName" xorm:"file_name"` CiGroup string `json:"ciGroup" xorm:"ci_group"` CiLayer string `json:"ciLayer" xorm:"ci_layer"` CiTemplate string `json:"ciTemplate" xorm:"ci_template"` StateMachine string `json:"stateMachine" xorm:"state_machine"` SeqNo string `json:"seqNo" xorm:"seq_no"` }
type SysFilesTable ¶
type SysGraphElementTable ¶
type SysGraphElementTable struct { Id string `json:"graphElementId" xorm:"id"` Graph string `json:"graph" xorm:"graph"` ParentElement string `json:"parentElement" xorm:"parent_element"` ReportObject string `json:"reportObject" xorm:"report_object"` ShowTable string `json:"showTable" xorm:"show_table"` DisplayExpression string `json:"displayExpression" xorm:"display_expression"` NodeGroupName string `json:"nodeGroupName" xorm:"node_group_name"` LineStartData string `json:"lineStartData" xorm:"line_start_data"` LineEndData string `json:"lineEndData" xorm:"line_end_data"` LineDisplayPosition string `json:"lineDisplayPosition" xorm:"line_display_position"` GraphType string `json:"graphType" xorm:"graph_type"` GraphShapeData string `json:"graphShapeData" xorm:"graph_shape_data"` GraphShapes string `json:"graphShapes" xorm:"graph_shapes"` GraphConfigData string `json:"graphConfigData" xorm:"graph_config_data"` GraphConfigs string `json:"graphConfigs" xorm:"graph_configs"` EditRefAttr string `json:"editRefAttr" xorm:"edit_ref_attr"` GraphFilterData string `json:"graphFilterData" xorm:"graph_filter_data"` GraphFilterValues string `json:"graphFilterValues" xorm:"graph_filter_values"` Editable string `json:"editable" xorm:"editable"` SeqNo string `json:"seqNo" xorm:"seq_no"` OrderData string `json:"orderData" xorm:"order_data"` UpdateOperation string `json:"updateOperation" xorm:"update_operation"` }
type SysGraphTable ¶
type SysGraphTable struct { Id string `json:"graphId" xorm:"id"` Name string `json:"name" xorm:"name"` View string `json:"view" xorm:"view"` GraphType string `json:"graphType" xorm:"graph_type"` NodeGroups string `json:"nodeGroups" xorm:"node_groups"` GraphDir string `json:"graphDir" xorm:"graph_dir"` GraphNodeConfig string `json:"graphNodeConfig" xorm:"graph_node_config"` GraphEdgeConfig string `json:"graphEdgeConfig" xorm:"graph_edge_config"` }
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 SysMenuTable ¶
type SysReportImportHistoryObj ¶
type SysReportImportHistoryObj struct { Guid string `json:"guid" xorm:"guid"` Report string `json:"report" xorm:"report"` ReportName string `json:"reportName" xorm:"report_name"` RootCiType string `json:"rootCiType" xorm:"root_ci_type"` RootCiTypeName string `json:"rootCiTypeName" xorm:"root_ci_type_name"` CiTypeNames string `json:"ciTypeNames" xorm:"ci_type_names"` KeyNames string `json:"keyNames" xorm:"key_names"` TotalCount int `json:"totalCount" xorm:"total_count"` Status string `json:"status" xorm:"status"` ConfirmTime string `json:"confirmTime" xorm:"confirm_time"` CreateUser string `json:"createUser" xorm:"create_user"` CreateTime string `json:"createTime" xorm:"create_time"` UpdateUser string `json:"updateUser" xorm:"update_user"` UpdateTime string `json:"updateTime" xorm:"update_time"` NotPassCount int `json:"notPassCount" xorm:"not_pass_count"` }
type SysReportImportHistoryResult ¶
type SysReportImportHistoryResult struct { ReportHistoryObject *SysReportImportHistoryObj `json:"reportHistoryObject"` ReportHistoryCiDataStatistics []*ReportHistoryCiDataStatistics `json:"reportHistoryCiDataStatistics"` }
type SysReportImportHistoryTable ¶
type SysReportImportHistoryTable struct { Guid string `json:"guid" xorm:"guid"` Report string `json:"report" xorm:"report"` RootCiType string `json:"rootCiType" xorm:"root_ci_type"` KeyNames string `json:"keyNames" xorm:"key_names"` TotalCount int `json:"totalCount" xorm:"total_count"` Status string `json:"status" xorm:"status"` ConfirmTime string `json:"confirmTime" xorm:"confirm_time"` CreateUser string `json:"createUser" xorm:"create_user"` CreateTime string `json:"createTime" xorm:"create_time"` UpdateUser string `json:"updateUser" xorm:"update_user"` UpdateTime string `json:"updateTime" xorm:"update_time"` NotPassCount int `json:"notPassCount" xorm:"not_pass_count"` }
type SysReportObjectAttrTable ¶
type SysReportObjectAttrTable struct { Id string `json:"reportObjectAttrId" xorm:"id"` ReportObject string `json:"reportObject" xorm:"report_object"` CiTypeAttr string `json:"ciTypeAttr" xorm:"ci_type_attr"` DataName string `json:"dataName" xorm:"data_name"` DataTitleName string `json:"dataTitleName" xorm:"data_title_name"` Querialbe string `json:"querialbe" xorm:"querialbe"` AttrInputType string `json:"-" xorm:"attr_input_type"` }
type SysReportObjectFilterTable ¶
type SysReportObjectFilterTable struct { Id string `json:"reportObjectFilterId" xorm:"id"` FilterName string `json:"filterName" xorm:"filter_name"` FilterCiType string `json:"filterCiType" xorm:"filter_ci_type"` FilterRule string `json:"filterRule" xorm:"filter_rule"` SysReportObject string `json:"sysReportObject" xorm:"sys_report_object"` Multiple string `json:"multiple" xorm:"multiple"` FilterDisplayName string `json:"filterDisplayName" xorm:"filter_display_name"` }
type SysReportObjectTable ¶
type SysReportObjectTable struct { Id string `json:"reportObjectId" xorm:"id"` Report string `json:"report" xorm:"report"` ParentObject string `json:"parentObject" xorm:"parent_object"` ParentAttr string `json:"parentAttr" xorm:"parent_attr"` CiType string `json:"ciType" xorm:"ci_type"` MyAttr string `json:"myAttr" xorm:"my_attr"` DataName string `json:"dataName" xorm:"data_name"` DataTitleName string `json:"dataTitleName" xorm:"data_title_name"` SeqNo int `json:"seqNo" xorm:"seq_no"` }
type SysReportTable ¶
type SysReportTable struct { Id string `json:"id" xorm:"id"` Name string `json:"name" xorm:"name"` CiType string `json:"ciType" xorm:"ci_type"` CreateTime string `json:"createTime" xorm:"create_time"` CreateUser string `json:"createUser" xorm:"create_user"` UpdateTime string `json:"updateTime" xorm:"update_time"` UpdateUser string `json:"updateUser" xorm:"update_user"` SqlCache string `json:"-" xorm:"sql_cache"` }
type SysRoleCiTypeConditionFilterTable ¶
type SysRoleCiTypeConditionFilterTable struct { Guid string `json:"roleCiTypeConditionFilterGuid" xorm:"guid"` RoleCiTypeCondition string `json:"roleCiTypeConditionGuid" xorm:"role_ci_type_condition"` CiTypeAttr string `json:"ciTypeAttr" xorm:"ci_type_attr"` CiTypeAttrName string `json:"ciTypeAttrName" xorm:"ci_type_attr_name"` Expression string `json:"expression" xorm:"expression"` ConditionValueExprs []string `json:"conditionValueExprs" xorm:"-"` FilterType string `json:"filterType" xorm:"filter_type"` SelectList string `json:"selectList" xorm:"select_list"` SelectValues []string `json:"selectValues" xorm:"-"` }
type SysRoleCiTypeConditionTable ¶
type SysRoleCiTypeConditionTable struct { Guid string `json:"guid" xorm:"guid"` RoleCiType string `json:"roleCiType" xorm:"role_ci_type"` Insert string `json:"insert" xorm:"insert"` Delete string `json:"delete" xorm:"delete"` Update string `json:"update" xorm:"update"` Query string `json:"query" xorm:"query"` Execution string `json:"execute" xorm:"execute"` Confirm string `json:"confirm" xorm:"confirm"` }
type SysRoleCiTypeListTable ¶
type SysRoleCiTypeListTable struct { Guid string `json:"guid" xorm:"guid"` RoleCiType string `json:"roleCiType" xorm:"role_ci_type"` List string `json:"list" xorm:"list"` ListName string `json:"listName" xorm:"-"` Insert string `json:"insert" xorm:"insert"` Delete string `json:"delete" xorm:"delete"` Update string `json:"update" xorm:"update"` Query string `json:"query" xorm:"query"` Execution string `json:"execute" xorm:"execute"` Confirm string `json:"confirm" xorm:"confirm"` }
type SysRoleCiTypeTable ¶
type SysRoleCiTypeTable struct { Guid string `json:"guid" xorm:"guid"` RoleId string `json:"roleId" xorm:"role_id"` CiType string `json:"ciTypeId" xorm:"ci_type"` Insert string `json:"insert" xorm:"insert"` Delete string `json:"delete" xorm:"delete"` Update string `json:"update" xorm:"update"` Query string `json:"query" xorm:"query"` Execution string `json:"execute" xorm:"execute"` Confirm string `json:"confirm" xorm:"confirm"` }
type SysRoleMenuTable ¶
type SysRoleReportTable ¶
type SysRoleTable ¶
type SysRoleUserTable ¶
type SysRoleViewTable ¶
type SysStateMachineTable ¶
type SysStateTable ¶
type SysStateTable struct { Id string `json:"id" xorm:"id"` Name string `json:"name" xorm:"name"` Description string `json:"description" xorm:"description"` StateMachine string `json:"stateMachine" xorm:"state_machine"` UniquePathTrigger string `json:"uniquePathTrigger" xorm:"unique_path_trigger"` IsConfirm string `json:"isConfirm" xorm:"is_confirm"` }
type SysStateTransitionQuery ¶
type SysStateTransitionQuery struct { CiType string `json:"ci_type" xorm:"ci_type"` Guid string `json:"guid" xorm:"guid"` StateMachine string `json:"stateMachine" xorm:"state_machine"` CurrentState string `json:"currentState" xorm:"current_state"` CurrentStateName string `json:"currentStateName" xorm:"current_state_name"` TargetState string `json:"targetState" xorm:"target_state"` TargetStateName string `json:"targetStateName" xorm:"target_state_name"` TargetIsConfirm string `json:"targetIsConfirm" xorm:"target_is_confirm"` TargetUniquePath string `json:"targetUniquePath" xorm:"target_unique_path"` Operation string `json:"operation" xorm:"operation"` OperationEn string `json:"operation_en" xorm:"operation_en"` Action string `json:"action" xorm:"action"` StartState string `json:"start_state" xorm:"start_state"` FinalState string `json:"final_state" xorm:"final_state"` }
type SysStateTransitionTable ¶
type SysStateTransitionTable struct { Guid string `json:"guid" xorm:"guid"` StateMachine string `json:"stateMachine" xorm:"state_machine"` CurrentState string `json:"currentState" xorm:"current_state"` TargetState string `json:"targetState" xorm:"target_state"` Operation string `json:"operation" xorm:"operation"` OperationEn string `json:"operation_en" xorm:"operation_en"` Permission string `json:"permission" xorm:"permission"` Action string `json:"action" xorm:"action"` OperationFormType string `json:"operationFormType" xorm:"operation_form_type"` OperationMultiple string `json:"operationMultiple" xorm:"operation_multiple"` }
type SysUserTable ¶
type SysUserTable struct { Id string `json:"userId" xorm:"id" binding:"required"` DisplayName string `json:"displayName" xorm:"display_name"` EncryptedPassword string `json:"-" xorm:"encrypted_password"` Description string `json:"description" xorm:"description"` IsSystem string `json:"isSystem" xorm:"is_system"` }
type SysViewTable ¶
type SysViewTable struct { Id string `json:"viewId" xorm:"id"` Name string `json:"name" xorm:"name"` Report string `json:"report" xorm:"report"` Editable string `json:"editable" xorm:"editable"` SuportVersion string `json:"suportVersion" xorm:"suport_version"` Multiple string `json:"multiple" xorm:"multiple"` CreateTime time.Time `json:"createTime" xorm:"create_time"` CreateUser string `json:"createUser" xorm:"create_user"` UpdateTime time.Time `json:"updateTime" xorm:"update_time"` UpdateUser string `json:"updateUser" xorm:"update_user"` FilterAttr string `json:"filterAttr" xorm:"filter_attr"` FilterValue string `json:"filterValue" xorm:"filter_value"` }
type SysWecubeProcessTable ¶
type SysWecubeProcessTable struct { Guid string `json:"guid"` CiDataGuid string `json:"ci_data_guid"` WecubeProcInstanceTmp string `json:"wecube_proc_instance_tmp"` WecubeProcInstance string `json:"wecube_proc_instance"` WecubeProcDefine string `json:"wecube_proc_define"` Status string `json:"status"` UpdateTime time.Time `json:"update_time"` }
type TransFiltersParam ¶
type UpdatePasswordParam ¶
type UpdateRoleMenuParam ¶
type UpdateRoleUserParam ¶
type UpdateViewParam ¶
type UpdateViewParam struct { Id string `json:"viewId" xorm:"id" binding:"required"` Name string `json:"name" xorm:"name" binding:"required"` Report string `json:"report" xorm:"report" binding:"required"` Editable string `json:"editable" xorm:"editable"` SuportVersion string `json:"suportVersion" xorm:"suport_version"` Multiple string `json:"multiple" xorm:"multiple"` FilterAttr string `json:"filterAttr" xorm:"filter_attr"` FilterValue string `json:"filterValue" xorm:"filter_value"` MGMT []string `json:"MGMT" xorm:"-"` USE []string `json:"USE" xorm:"-"` }
type ViewData ¶
type ViewData struct { ViewId string `json:"viewId" xorm:"view_id"` RootCi string `json:"rootCi" xorm:"root_ci"` ReportId string `json:"reportId"` ConfirmTime string `json:"confirmTime" xorm:"confirm_time"` // Permission string `json:"permission" xorm:"permission" binding:"required"` RootCiList []string `json:"rootCiList"` WithoutChildren bool `json:"withoutChildren"` RootCiKeyName string `json:"rootCiKeyName"` }
type ViewQuery ¶
type ViewQuery struct { Editable string `json:"editable" xorm:"editable"` SuportVersion string `json:"suportVersion" xorm:"suport_version"` Multiple string `json:"multiple" xorm:"multiple"` Report string `json:"report" xorm:"report"` CiType string `json:"ciType" xorm:"ci_type"` FilterAttr string `json:"-" xorm:"filter_attr"` FilterAttrName string `json:"filterAttr" xorm:"filter_attr_name"` FilterValue string `json:"filterValue" xorm:"filter_value"` Graphs []*GraphQuery `json:"graphs" xorm:"graphs"` }
Click to show internal directories.
Click to hide internal directories.