1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- package response
- type MsgResponse struct {
- Success bool `json:"success"`
- ErrCode int `json:"errCode"`
- Msg string `json:"msg"`
- }
- type InfosData[T any] struct {
- Infos []T `json:"infos"`
- TotalCount int64 `json:"totalCount"`
- PageNo int `json:"pageNo"`
- }
- type InfoResponse[T any] struct {
- MsgResponse
- Info T `json:"info"`
- }
- type InfosResponse[T any] struct {
- MsgResponse
- InfosData[T]
- }
- type BusinessCatalogsInfoWithWorkflowTemplate struct {
- ID string `json:"id"`
- Name string `json:"name"`
- Code string `json:"code"`
- Sort int `json:"sort"`
- TenantID string `json:"tenantId" `
- CreateUserID string `json:"createUserId"`
- LastUpdateUserID string `json:"lastUpdateUserId"`
- CreatedTime string `json:"createdTime"`
- LastUpdatedTime string `json:"lastUpdatedTime"`
- WorkTemplateId string `json:"workTemplateId"`
- }
- type PrepareInfo struct {
- Flag int `json:"flag"`
- WorkflowFieldLabel string `json:"workflowFieldLabel"`
- ChooseData []CustomStructureInfo `json:"chooseData"`
- WorkflowFieldName string `json:"workflowFieldName"`
- }
- type CustomStructureInfo struct {
- ID string `json:"id"`
- Name string `json:"name"`
- Visible int `json:"visible"`
- Sort int `json:"sort"`
- ParentID string `json:"parentId"`
- Paths string `json:"paths" `
- LeaderUserID string `json:"leaderUserId" `
- LeaderUserName string `json:"leaderUserName"`
- TenantID string `json:"tenantId"`
- CreateUserID string `json:"createUserId"`
- LastUpdateUserID string `json:"lastUpdateUserId"`
- CreatedTime string `json:"createdTime"`
- LastUpdatedTime string `json:"lastUpdatedTime"`
- }
|