Documentation ¶
Index ¶
- type ActualListItem
- type ActualWorkHourDateItem
- type ActualWorkHourDateItemForInt
- type AppInfoBo
- type AppTicketBo
- type AppViewCondition
- type AppViewConfig
- type AppViewLessCondition
- type AppViewLessProp
- type AppViewLessPropSelectType
- type AppViewLessShowCondition
- type AppViewMultiConditionForProject
- type AppViewOption
- type AppViewOrder
- type AppViewParam
- type AppViewParamConds
- type AreaBo
- type AttachmentBo
- type Attachments
- type AuditorAuditStatusBo
- type AuthBo
- type AuthCodeInfoBo
- type BaseOrgInfoBo
- type BaseOrgOutInfoBo
- type BaseUserInfoBo
- type BaseUserInfoExtBo
- type BaseUserOutInfoBo
- type BeInvitedPhone
- type CacheFsUserTokenBo
- type CacheOrgPayLevelBo
- type CacheProcessStatusBo
- type CacheProjectCalendarInfoBo
- type CacheTempThirdUserInfo
- type CacheUserCheckPayBo
- type CacheUserInfoBo
- type CalendarInfo
- type CheckWorkHoursUpdatePowerBo
- type CitiesBo
- type CodesIds
- type Collaborator
- type CommentBo
- type CommonCountBo
- type ContactBo
- type ContinentsBo
- type CountriesBo
- type CreateFolderBo
- type CreateOrgBo
- type CreateResourceBo
- type CustomFieldBo
- type CustomFieldItemFrontend
- type CustomFieldItemFrontendForLc
- type CustomFieldPersonValue
- type CustomValue
- type DailyIssueReportMsgBo
- type DailyProjectReportMsgBo
- type DeleteFolderBo
- type DeleteIssueBatchBo
- type DeleteIssueWorkHoursBo
- type DeleteResourceBo
- type DepartmentAdminFlagBo
- type DepartmentBo
- type DepartmentMemberInfoBo
- type DepartmentSimpleInfoBo
- type DingTalkUserRoleBo
- type DisOrEnableIssueWorkHoursBo
- type DocumentBo
- type ExportIssueBo
- type FeiShuAuthCodeInfo
- type FeiShuCallBackMqBo
- type FeishuHelpObjectBo
- type FolderBo
- type FolderResourceBo
- type FolderTreeBo
- type FsGroupChatSettingItems
- type GetFolderBo
- type GetFsProjectChatPushSettingsBo
- type GetFsProjectChatPushSettingsForChatBo
- type GetFsProjectChatPushSettingsForChatBoTable
- type GetFsProjectChatPushSettingsOldBo
- type GetFsTableSettingOfProjectChatBo
- type GetLabConfigBo
- type GetMenuInfoBo
- type GetResourceBo
- type GetResourceInfoBo
- type GlobalUserRelations
- type HomeIssueInfoBo
- type HomeIssueInfoPlusRespBo
- type HomeIssueInfoRespBo
- type HomeIssueOwnerInfoBo
- type HomeIssuePriorityInfoBo
- type HomeIssueProjectInfoBo
- type HomeIssueTagInfoBo
- type HomeIssueWorkHourInfo
- type IdCodeInfo
- type IdCodes
- type IndustryBo
- type InitOrgBo
- type InviteInfoBo
- type InviteInfoForPhonesBo
- type Issue
- type IssueAndDetailInfoBo
- type IssueAndDetailUnionBo
- type IssueAssignCountBo
- type IssueAttachments
- type IssueAuthBo
- type IssueBo
- type IssueBoListCond
- type IssueChildContStatus
- type IssueChildCountBo
- type IssueCombineBo
- type IssueCreateResourceReqBo
- type IssueDailyNoticeBo
- type IssueDailyPersonalWorkCompletionStatBo
- type IssueDetailBo
- type IssueGroupSimpleInfoBo
- type IssueIdBo
- type IssueIdData
- type IssueInfoBo
- type IssueMembersBo
- type IssueNode
- type IssueNoticeBo
- type IssuePropertyBo
- type IssueRelationBo
- type IssueRemindInfoBo
- type IssueRemindMqBo
- type IssueRemindMsg
- type IssueReportDetailBo
- type IssueSourceBo
- type IssueStatByObjectType
- type IssueStatByProjectIdAndObjectId
- type IssueStatByStatus
- type IssueStatistic
- type IssueStatusStatBo
- type IssueStatusStatCondBo
- type IssueTagBo
- type IssueTagReqBo
- type IssueTagStatBo
- type IssueTrendsBo
- type IssueUpdateBo
- type IssueWorkHour
- type IssueWorkHoursBo
- type IssueWorkHoursBoListCondBo
- type IterationBo
- type IterationInfoBo
- type IterationStatBo
- type IterationStatusTypeCountBo
- type IterationStatusTypeCountSelectBo
- type IterationUpdateBo
- type LabConfigBo
- type LcAppView
- type LcAppViewJson
- type MQTTDataRefreshNotice
- type MQTTGlobalRefresh
- type MQTTNoticeBo
- type MQTTPartialRefresh
- type MQTTRemindNotice
- type MemberConditionValues
- type MenuConfig
- type MessageBo
- type MobilePrefixBo
- type MoveIssueBatchBo
- type MoveIssueWorkHoursByProjectIdBo
- type MoveRefresh
- type MqMessage
- type MqMessageExt
- type MqttIssueInfo
- type MqttIssueLessData
- type NeedCopyColumnsValue
- type NoticeBo
- type ObjectField
- type ObjectIdCache
- type OpenAuthInfo
- type OperationBo
- type OrdPricePlanFs
- type OrderDingBo
- type OrderFsBo
- type OrderWeiXinBo
- type OrgAndUserInfo
- type OrgAuthTicketInfoBo
- type OrgConfigBo
- type OrgIdInfo
- type OrgMemberBaseInfoBo
- type OrgMemberChangeBo
- type OrgOutInfoBo
- type OrgProjectMemberBo
- type OrgTrendsBo
- type OrgTrendsBoExt
- type OrgUserInfo
- type OrganizationBo
- type OrganizationInfoBo
- type OssCallBackBody
- type OssCallBackExtProperties
- type OssCallbackBo
- type OssKeyInfo
- type OutGroupChatSettingBo
- type OutGroupChatSettingOneTableBo
- type PageBo
- type ParentIdData
- type ParentInfo
- type PayRangeData
- type PermissionBo
- type PermissionOperationBo
- type PermissionOperationListBo
- type PlatformAdminBo
- type PlatformAppAccessTokenCacheBo
- type PlatformAppTicketCacheBo
- type PlatformCorpAccessTokenCacheBo
- type PpmOrcFunctionConfig
- type PpmOrgUserOrganizationBo
- type PpmPriIterationStatusRelationBo
- type PpmPrsRecycleBin
- type PredictListItem
- type PriorityBo
- type ProjectAuthBo
- type ProjectBo
- type ProjectCreateResourceReqBo
- type ProjectDayStatBo
- type ProjectDetailBo
- type ProjectMemberChangeBo
- type ProjectMenuConfigBo
- type ProjectOutChatSettingBo
- type ProjectOutChatSettingOneTableBo
- type ProjectRelationBo
- type ProjectStatBo
- type ProjectTableBo
- type ProjectTrendsBo
- type ProjectTypeBo
- type ProjectTypeCategoryBo
- type RegionsBo
- type RelateIssueTotal
- type RelatingChangeBo
- type RelatingDesc
- type RelatingIssue
- type RelationInfoTypeBo
- type RelationIssue
- type RemindConfig
- type ResourceBo
- type ResourceInfoBo
- type ResourceRelationBo
- type ResourceTypeBo
- type RoleBo
- type RoleDepartment
- type RoleDepartmentBo
- type RoleGroupBo
- type RoleInitResp
- type RolePermissionOperationBo
- type RoleUser
- type RoleUserBo
- type RoleUserWithOrgId
- type ScheduleOrganizationListBo
- type SelectIssueIdsCondBo
- type ShareBo
- type SimpleBasicNameBo
- type SimpleIssueInfoForMqtt
- type SimpleTagInfoBo
- type SimpleUserInfoBo
- type SimpleUserWithUserIdBo
- type SimpleWorkHourBo
- type StatExtBo
- type StatIssueExtBo
- type StatesBo
- type TableColumn
- type TableColumnOption
- type TagBo
- type TaskStatBo
- type ThirdOrderPush
- type TmpLcData
- type TransferDepartmentInfo
- type TransferMatchInfo
- type TransferOrgInfo
- type TransferUserInfo
- type TrendAuditInfo
- type TrendAutomationInfo
- type TrendChangeListBo
- type TrendExtensionBo
- type TrendsBo
- type TrendsPageBo
- type TrendsQueryCondBo
- type UpdateFolderBo
- type UpdateOneIssueWorkHoursBo
- type UpdateOrganizationBo
- type UpdateProjectBo
- type UpdateResourceFolderBo
- type UpdateResourceInfoBo
- type UpdateRoleBo
- type UserAdminFlagBo
- type UserConfigBo
- type UserConfigExt
- type UserDepartmentBo
- type UserDepartmentInfo
- type UserEmpIdInfo
- type UserIDInfoBo
- type UserIDInfoExtraForIssueAudit
- type UserInfoBo
- type UserNoticeInfoBo
- type UserOrDeptInfoItem
- type UserOrganizationBo
- type UserOutInfoBo
- type UserSMSRegisterInfo
- type UserViewLocation
- type UserViewLocationConfig
- type VersionConfig
- type WorkHour
- type WorkHourForSomeoneBo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActualListItem ¶
type ActualListItem struct { // 工时执行人名字 Name string `json:"name"` ActualWorkHourDateList []*ActualWorkHourDateItem `json:"actualWorkHourDateList"` }
实际工时详情列表单个对象
type ActualWorkHourDateItem ¶
type AppInfoBo ¶
type AppInfoBo struct { Id int64 `db:"id,omitempty" json:"id"` Name string `db:"name,omitempty" json:"name"` Code string `db:"code,omitempty" json:"code"` Secret1 string `db:"secret1,omitempty" json:"secret1"` Secret2 string `db:"secret2,omitempty" json:"secret2"` Owner string `db:"owner,omitempty" json:"owner"` CheckStatus int `db:"check_status,omitempty" json:"checkStatus"` Remark string `db:"remark,omitempty" json:"remark"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type AppTicketBo ¶
type AppViewCondition ¶
type AppViewCondition struct { Column int64 `json:"column"` FieldType string `json:"fieldType"` Option []AppViewOption `json:"option"` Type string `json:"type"` Values []string `json:"values"` }
type AppViewConfig ¶
type AppViewConfig struct { Orders []AppViewOrder `json:"orders"` Condition interface{} `json:"condition"` ProjectObjectTypeId interface{} `json:"projectObjectTypeId"` RealCondition interface{} `json:"realCondition"` Group interface{} `json:"group"` OrderParams interface{} `json:"orderParams"` HiddenColumnIds []string `json:"hiddenColumnIds"` TableId string `json:"tableId"` }
type AppViewLessCondition ¶
type AppViewLessCondition struct { Column string `json:"column"` FieldType string `json:"fieldType"` Type string `json:"type"` Value interface{} `json:"value"` Values []interface{} `json:"values"` Conds []AppViewLessCondition `json:"conds"` }
type AppViewLessProp ¶
type AppViewLessProp struct {
DatePicker AppViewLessPropSelectType `json:"datePicker"`
}
type AppViewLessPropSelectType ¶
type AppViewLessPropSelectType struct {
SelectType string `json:"selectType"`
}
type AppViewLessShowCondition ¶
type AppViewLessShowCondition struct { Column string `json:"column"` FieldType string `json:"fieldType"` Option []map[string]interface{} `json:"option"` Type string `json:"type"` Values []interface{} `json:"values"` Value interface{} `json:"value"` Props AppViewLessProp `json:"props"` Conds []AppViewLessShowCondition `json:"conds"` }
type AppViewMultiConditionForProject ¶
type AppViewMultiConditionForProject struct { Type string `json:"type"` Conds []AppViewLessCondition `json:"conds"` }
type AppViewOption ¶
type AppViewOption struct { Label string `json:"label"` Value interface{} `json:"value"` }
type AppViewOrder ¶
type AppViewParam ¶
type AppViewParam struct {
Conds []AppViewParamConds `json:"conds"`
}
type AppViewParamConds ¶
type AreaBo ¶
type AreaBo struct { Id int64 `db:"id,omitempty" json:"id"` CountryId int64 `db:"country_id,omitempty" json:"countryId"` Code int64 `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` Cname string `db:"cname,omitempty" json:"cname"` LowerName string `db:"lower_name,omitempty" json:"lowerName"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type AttachmentBo ¶
type Attachments ¶
type AuditorAuditStatusBo ¶
type AuthCodeInfoBo ¶
type AuthCodeInfoBo struct { // 企业ID CorpId string // OutUserId OutUserId string // 是否为企业管理 IsAdmin bool // 是否被绑定 Binding bool `json:"binding"` // refreshToken RefreshToken string `json:"refreshToken"` // accessToken AccessToken string `json:"accessToken"` // token Token string `json:"token"` // codeToken CodeToken string `json:"codeToken"` // 组织id OrgID int64 `json:"orgId"` // 组织名称 OrgName string `json:"orgName"` // 外部组织名称 OutOrgName string `json:"outOrgName"` // 组织code OrgCode string `json:"orgCode"` // 用户id UserID int64 `json:"userId"` // 用户姓名 Name string `json:"name"` Avatar string `json:"avatar"` }
type BaseOrgInfoBo ¶
type BaseOrgOutInfoBo ¶
type BaseUserInfoBo ¶
type BaseUserInfoBo struct { UserId int64 `json:"userId"` OutUserId string `json:"outUserId"` //有可能为空 OrgId int64 `json:"orgId"` OutOrgId string `json:"outOrgId"` //有可能为空 Name string `json:"name"` NamePy string `json:"namePy"` Avatar string `json:"avatar"` HasOutInfo bool `json:"hasOutInfo"` HasOrgOutInfo bool `json:"hasOrgOutInfo"` OutOrgUserId string `json:"outOrgUserId"` //可能为空(钉钉发送消息会用到) OrgUserIsDelete int `json:"orgUserIsDelete"` //是否被组织移除 OrgUserStatus int `json:"orgUserStatus"` //用户组织状态 OrgUserCheckStatus int `json:"orgUserCheckStatus"` //用户组织审核状态 }
type BaseUserInfoExtBo ¶
type BaseUserInfoExtBo struct { BaseUserInfoBo //部门id DepartmentId int64 `json:"departmentId"` }
用户基本信息扩展
type BaseUserOutInfoBo ¶
type BeInvitedPhone ¶
type CacheFsUserTokenBo ¶
type CacheOrgPayLevelBo ¶
type CacheProcessStatusBo ¶
type CacheProcessStatusBo struct { StatusId int64 `json:"statusId"` StatusType int `json:"statusType"` Category int `json:"category"` IsInit bool `json:"isInit"` BgStyle string `json:"bgStyle"` FontStyle string `json:"fontStyle"` Name string `json:"name"` DisplayName string `json:"displayName"` LangCode string `json:"langCode"` Sort int `json:"sort"` ProcessId int64 `json:"processId"` }
type CacheTempThirdUserInfo ¶
type CacheUserCheckPayBo ¶
type CacheUserInfoBo ¶
type CacheUserInfoBo struct { OutUserId string `json:"outUserId"` SourceChannel string `json:"sourceChannel"` UserId int64 `json:"userId"` CorpId string `json:"corpId"` OrgId int64 `json:"orgId"` TokenType int `json:"tokenType"` }
缓存用户登录信息
type CalendarInfo ¶
type CitiesBo ¶
type CitiesBo struct { Id int64 `db:"id,omitempty" json:"id"` StateId int64 `db:"state_id,omitempty" json:"stateId"` Code string `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` Cname string `db:"cname,omitempty" json:"cname"` LowerName string `db:"lower_name,omitempty" json:"lowerName"` CodeFull string `db:"code_full,omitempty" json:"codeFull"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type Collaborator ¶
type CommentBo ¶
type CommentBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` TrendsId int64 `db:"trends_id,omitempty" json:"trendsId"` ObjectId int64 `db:"object_id,omitempty" json:"objectId"` ObjectType string `db:"object_type,omitempty" json:"objectType"` Content string `db:"content,omitempty" json:"content"` ParentId int64 `db:"parent_id,omitempty" json:"parentId"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type CommonCountBo ¶
type CommonCountBo struct {
Count int64 `json:"count"`
}
type ContactBo ¶
type ContactBo struct { Id int64 `db:"id,omitempty" json:"id"` Code string `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` Sex int `db:"sex,omitempty" json:"sex"` Email string `db:"email,omitempty" json:"email"` MobileRegion string `db:"mobile_region,omitempty" json:"mobileRegion"` Mobile string `db:"mobile,omitempty" json:"mobile"` Remark string `db:"remark,omitempty" json:"remark"` Intention int `db:"intention,omitempty" json:"intention"` Source string `db:"source,omitempty" json:"source"` ResourceInfo string `db:"resource_info,omitempty" json:"resourceInfo"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type ContinentsBo ¶
type ContinentsBo struct { Id int64 `db:"id,omitempty" json:"id"` Name string `db:"name,omitempty" json:"name"` Cname string `db:"cname,omitempty" json:"cname"` LowerName string `db:"lower_name,omitempty" json:"lowerName"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*ContinentsBo) TableName ¶
func (*ContinentsBo) TableName() string
type CountriesBo ¶
type CountriesBo struct { Id int64 `db:"id,omitempty" json:"id"` ContinentId int64 `db:"continent_id,omitempty" json:"continentId"` Code string `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` FullName string `db:"full_name,omitempty" json:"fullName"` Cname string `db:"cname,omitempty" json:"cname"` FullCname string `db:"full_cname,omitempty" json:"fullCname"` LowerName string `db:"lower_name,omitempty" json:"lowerName"` Remark string `db:"remark,omitempty" json:"remark"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*CountriesBo) TableName ¶
func (*CountriesBo) TableName() string
type CreateFolderBo ¶
type CreateFolderBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `json:"orgId"` // 项目id ProjectId int64 `json:"projectId"` // 文件夹名 Name string `json:"name"` // 父级文件夹id ParentId int64 `json:"parentId"` // 文件夹类型,0其他,1文档,2图片,3视频,4音频 FileType int64 `json:"fileType"` // 操作人 UserId int64 `json:"userId"` }
type CreateOrgBo ¶
type CreateResourceBo ¶
type CreateResourceBo struct { Id int64 `db:"id,omitempty" json:"id"` ProjectId int64 OrgId int64 `db:"org_id,omitempty" json:"orgId"` Bucket string `db:"bucket,omitempty" json:"bucket"` Path string `db:"path,omitempty" json:"path"` Name string `db:"name,omitempty" json:"name"` Size int64 Suffix string Type int `db:"type,omitempty" json:"type"` Md5 string `db:"md5,omitempty" json:"md5"` OperatorId int64 //新增folderId用户文件管理创建资源 2019/12/12 FolderId *int64 //新增文件类型,用于区分文件和附件 文件来源,0其他,1项目封面,2任务附件,3导入文件,4项目资源,5兼容测试,6头像 2019/12/20 SourceType *int //文件本地路径, 用于图片压缩 DistPath string `json:"distPath"` IssueId int64 `json:"issueId"` //是否跳过创建关联关系 SkipCreateRelation bool `json:"skipCreateRelation"` }
type CustomFieldBo ¶
type CustomFieldBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` Name string `db:"name,omitempty" json:"name"` FieldType int `db:"field_type,omitempty" json:"fieldType"` FieldValue string `db:"field_value,omitempty" json:"fieldValue"` IsOrgField int `db:"is_org_field,omitempty" json:"isOrgField"` Remark string `db:"remark,omitempty" json:"remark"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*CustomFieldBo) TableName ¶
func (*CustomFieldBo) TableName() string
type CustomFieldItemFrontend ¶
type CustomFieldPersonValue ¶
type CustomValue ¶
type CustomValue struct { // 字段id ID int64 `json:"id"` // 字段名称 Name string `json:"name"` // 字段值 Value interface{} `json:"value"` // 类型(1文本类型2单选框3多选框4日期选框5人员选择6是非选择7数字框) FieldType int `json:"fieldType"` // 值 FieldValue []map[string]interface{} `json:"fieldValue"` // 是否属于组织字段库(1是2否,不选默认为否) IsOrgField int `json:"isOrgField"` // 字段描述 Remark string `json:"remark"` // 字段 Title string `json:"title"` // 启用状态(1启用2禁用)对于项目而言 Status int `json:"status"` }
type DailyIssueReportMsgBo ¶
type DailyIssueReportMsgBo struct { ScheduleTraceId string `json:"traceId"` PushType consts.IssueNoticePushType `json:"pushType"` //推送类型 OrgId int64 `json:"orgId"` //org id SourceChannel string `json:"sourceChannel"` //source channel OutOrgId string `json:"outOrgId"` //out org id OpenIds []string `json:"openIds"` //open ids IssueOverdueCount int64 `json:"issueOverdueCount"` // 已逾期数量 IssueOverdueTodayCount int64 `json:"issueOverdueTodayCount"` //今日逾期 IssueOverdueTomorrowCount int64 `json:"issueOverdueTomorrowCount"` // 即将逾期 IssueToBeCompleted int64 `json:"issueToBeCompleted"` // 待完成数量 }
个人日报
type DailyProjectReportMsgBo ¶
type DailyProjectReportMsgBo struct { ScheduleTraceId string `json:"traceId"` PushType consts.IssueNoticePushType `json:"pushType"` //推送类型 OrgId int64 `json:"orgId"` SourceChannel string `json:"sourceChannel"` OutOrgId string `json:"outOrgId"` OpenIds []string `json:"openIds"` AppId int64 `json:"appId"` ProjectId int64 `json:"projectId"` //项目id ProjectTypeId int64 `json:"projectTypeId"` ProjectName string `json:"projectName"` //项目名称 DailyFinishCount int64 `json:"dailyFinishCount"` //今日完成 RemainingCount int64 `json:"dailyRemainingCount"` //剩余未完成 OverdueCount int64 `json:"dailyOverdueCount"` //逾期任务数量 }
type DeleteFolderBo ¶
type DeleteIssueBatchBo ¶
type DeleteIssueWorkHoursBo ¶
type DeleteResourceBo ¶
type DepartmentAdminFlagBo ¶
type DepartmentBo ¶
type DepartmentBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` Name string `db:"name,omitempty" json:"name"` Code string `db:"code,omitempty" json:"code"` ParentId int64 `db:"parent_id,omitempty" json:"parentId"` Path string `db:"path,omitempty" json:"path"` Sort int `db:"sort,omitempty" json:"sort"` IsHide int `db:"is_hide,omitempty" json:"isHide"` SourceChannel string `db:"source_channel,omitempty" json:"sourceChannel"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*DepartmentBo) TableName ¶
func (*DepartmentBo) TableName() string
type DepartmentMemberInfoBo ¶
type DepartmentMemberInfoBo struct { // 用户id UserID int64 `json:"userId"` // 用户名称 Name string `json:"name"` //姓名拼音 NamePy string `json:"namePy"` // 用户头像 Avatar string `json:"avatar"` // 工号:企业下唯一 EmplID string `json:"emplId"` // unionId: 开发者账号下唯一 UnionID string `json:"unionId"` // 用户部门id DepartmentID int64 `json:"departmentId"` //用户组织状态 OrgUserStatus int `json:"orgUserStatus"` }
type DepartmentSimpleInfoBo ¶
type DingTalkUserRoleBo ¶
type DocumentBo ¶
type ExportIssueBo ¶
type ExportIssueBo struct { Id int64 ParentId int64 IterationId int64 ExportValues map[string]interface{} Documents []*DocumentBo }
type FeiShuAuthCodeInfo ¶
type FeiShuCallBackMqBo ¶
type FeishuHelpObjectBo ¶
type FolderBo ¶
type FolderBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` Name string `db:"name,omitempty" json:"name"` ParentId int64 `db:"parent_id,omitempty" json:"parentId"` FileType int64 `db:"file_type,omitempty" json:"fileType"` Path string `db:"path,omitempty" json:"path"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type FolderResourceBo ¶
type FolderResourceBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ResourceId int64 `db:"resource_id,omitempty" json:"resourceId"` FolderId int64 `db:"folder_id,omitempty" json:"folderId"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type FolderTreeBo ¶
type FolderTreeBo struct { Id int64 ParentId int64 Children []*FolderTreeBo }
type FsGroupChatSettingItems ¶
type FsGroupChatSettingItems struct { // 添加任务时是否推送(1开2关) 默认值:1 CreateIssue int `json:"createIssue"` // 任务有新的评论时是否推送 CreateIssueComment int `json:"createIssueComment"` // 任务被更新时是否推送 UpdateIssueCase int `json:"updateIssueCase"` // 任务被更新时,那些字段更新时才推送 ModifyColumnsOfSend []string `json:"modifyColumnsOfSend"` }
飞书群聊的配置项
type GetFolderBo ¶
type GetFsProjectChatPushSettingsBo ¶
type GetFsProjectChatPushSettingsBo struct { ProjectId int64 `json:"projectId"` IsProjectChatNative int `json:"isProjectChatNative"` Tables []GetFsTableSettingOfProjectChatBo `json:"tables"` }
针对项目的群聊配置数据
func (*GetFsProjectChatPushSettingsBo) ToGroupChatConfig ¶
func (chatConf *GetFsProjectChatPushSettingsBo) ToGroupChatConfig()
ToGroupChatConfig 将以项目为主体的配置转为以群聊为主体的配置对象 todo
type GetFsProjectChatPushSettingsForChatBo ¶
type GetFsProjectChatPushSettingsForChatBo struct { Tables []GetFsProjectChatPushSettingsForChatBoTable `json:"tables"` // 添加任务时是否推送(1开,2关) CreateIssue int `json:"createIssue"` // 任务有新的评论时是否推送 CreateIssueComment int `json:"createIssueComment"` // 任务被更新时是否推送 UpdateIssueCase int `json:"updateIssueCase"` // 任务被更新时,那些字段更新时才推送 ModifyColumnsOfSend []string `json:"modifyColumnsOfSend"` }
针对群聊的推送配置数据。一个群聊可以绑定多个项目
type GetFsProjectChatPushSettingsOldBo ¶
type GetFsProjectChatPushSettingsOldBo struct { // 添加任务(1开2关) 默认值:1 CreateIssue int `json:"createIssue"` // 任务负责人变更 UpdateIssueOwner int `json:"updateIssueOwner"` // 任务状态变更 UpdateIssueStatus int `json:"updateIssueStatus"` // 任务栏变更 UpdateIssueProjectObjectType int `json:"updateIssueProjectObjectType"` // 任务标题被修改 UpdateIssueTitle int `json:"updateIssueTitle"` // 任务时间被修改 UpdateIssueTime int `json:"updateIssueTime"` // 任务有新的评论 CreateIssueComment int `json:"createIssueComment"` // 任务有新的附件 UploadNewAttachment int `json:"uploadNewAttachment"` // 创建群聊的开关标识 EnableGroupChat int `json:"enableGroupChat"` // 项目隐私模式状态值 ProPrivacyStatus int `json:"proPrivacyStatus"` }
type GetFsTableSettingOfProjectChatBo ¶
type GetFsTableSettingOfProjectChatBo struct { // project chat 的 id 值 SettingId int64 `json:"settingId"` // 该值实例化后,需要手动赋值才会有值 ChatId string `json:"chatId"` // 该值实例化后,需要手动赋值才会有值 TableIdStr string `json:"tableIdStr"` // 该值实例化后,需要手动赋值才会有值 FsGroupChatSettingItems }
项目下表的群聊配置
func (*GetFsTableSettingOfProjectChatBo) CheckUpdate ¶
func (setting *GetFsTableSettingOfProjectChatBo) CheckUpdate(columnName string) bool
CheckUpdate 检查任务的列更新后,是否要推送卡片消息到群聊中
type GetLabConfigBo ¶
type GetMenuInfoBo ¶
type GetResourceBo ¶
type GetResourceInfoBo ¶
type GlobalUserRelations ¶
type HomeIssueInfoBo ¶
type HomeIssueInfoBo struct { IssueId int64 `json:"issueId"` // 父任务id ParentId int64 `json:"parentId"` // 父任务信息 ParentInfo []*ParentInfo `json:"parentInfo"` // 任务标题 Title string `json:"title"` Issue IssueBo `json:"issue"` Project *HomeIssueProjectInfoBo `json:"project"` Owner []*HomeIssueOwnerInfoBo `json:"owner"` Status *status.StatusInfoBo `json:"status"` Priority *HomeIssuePriorityInfoBo `json:"priority"` Tags []HomeIssueTagInfoBo `json:"tags"` ChildsNum int64 `json:"childsNum"` ChildsFinishedNum int64 `json:"childsFinishedNum"` ProjectOBjectTypeName string `json:"projectOBjectTypeName"` AllStatus []status.StatusInfoBo `json:"allStatus"` SourceInfo SimpleBasicNameBo `json:"sourceInfo"` PropertyInfo SimpleBasicNameBo `json:"propertyInfo"` TypeInfo SimpleBasicNameBo `json:"typeInfo"` IterationName string `json:"iterationName"` FollowerInfos []*UserIDInfoBo `json:"followerInfos"` AuditorsInfo []*UserIDInfoExtraForIssueAudit `json:"auditorsInfo"` RelateIssueCount int64 `json:"relateIssueCount"` RelateResourceCount int64 `json:"relateResourceCount"` RelateCommentCount int64 `json:"relateCommentCount"` // 自定义字段结果 CustomField []*CustomValue `json:"customField"` // 任务的预估工时和实际工时 WorkHourInfo HomeIssueWorkHourInfo `json:"workHourInfo"` AfterIssueIds []int64 `json:"afterIssueIds"` LessData map[string]interface{} `json:"lessData"` }
type HomeIssueInfoPlusRespBo ¶
type HomeIssueInfoRespBo ¶
type HomeIssueInfoRespBo struct { Total int64 `json:"total"` // 实际总数量 ActualTotal int64 `json:"actualTotal"` // 首页任务列表 List []HomeIssueInfoBo `json:"list"` }
type HomeIssueOwnerInfoBo ¶
type HomeIssuePriorityInfoBo ¶
type HomeIssueProjectInfoBo ¶
type HomeIssueTagInfoBo ¶
type HomeIssueWorkHourInfo ¶
type HomeIssueWorkHourInfo IssueWorkHour
type IdCodeInfo ¶
type IdCodes ¶
type IdCodes struct { OrgId int64 `json:"orgId"` Code string `json:"code"` PreCode string `json:"preCode"` // 返回的id编号 Ids []IdCodeInfo `json:"ids"` }
type IndustryBo ¶
type IndustryBo struct { Id int64 `db:"id,omitempty" json:"id"` Name string `db:"name,omitempty" json:"name"` Cname string `db:"cname,omitempty" json:"cname"` Pid int64 `db:"pid,omitempty" json:"pid"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*IndustryBo) TableName ¶
func (*IndustryBo) TableName() string
type InitOrgBo ¶
type InitOrgBo struct { //外部组织id OutOrgId string `json:"outOrgId"` //组织负责人外部id OutOrgOwnerId string `json:"outOrgOwnerId"` //组织名称 OrgName string `json:"orgName"` //企业编号 TenantCode string `json:"tenantCode"` //组织logo OrgLogo string `json:"orgLogo"` //行业 Industry string `json:"industry"` //是否认证 IsAuthenticated bool `json:"isAuthenticated"` //认证等级 AuthLevel int `json:"authLevel"` //省份 OrgProvince string `json:"corpProvince"` //城市 OrgCity string `json:"corpCity"` //来源 SourceChannel string `json:"sourceChannel"` //永久授权码 dingding的时候才会有 PermanentCode string `json:"permanentCode"` }
type InviteInfoBo ¶
type InviteInfoForPhonesBo ¶
type InviteInfoForPhonesBo struct { InviterId int64 // 邀请人,即当前操作人 current userId OrgId int64 SourcePlatform string BeInvitedPhones []BeInvitedPhone }
多个手机号邀请时的信息存储
type IssueAndDetailInfoBo ¶
type IssueAndDetailInfoBo struct { Id int64 `db:"id,omitempty" json:"id"` Code string `db:"code,omitempty" json:"code"` ProjectObjectTypeId int64 `db:"project_object_type_id,omitempty" json:"projectObjectTypeId"` TableId int64 `db:"table_id,omitempty" json:"tableId"` Title string `db:"title,omitempty" json:"title"` PriorityId int64 `db:"priority_id,omitempty" json:"priorityId"` SourceId int64 `db:"source_id,omitempty" json:"sourceId"` PropertyId int64 `db:"property_id,omitempty" json:"propertyId"` IssueObjectTypeId int64 `db:"issue_object_type_id,omitempty" json:"issueObjectTypeId"` IterationId int64 `db:"iteration_id,omitempty" json:"oterationId"` Owner int64 `db:"owner,omitempty" json:"owner"` PlanStartTime types.Time `db:"plan_start_time,omitempty" json:"planStartTime"` PlanEndTime types.Time `db:"plan_end_time,omitempty" json:"planEndTime"` EndTime types.Time `db:"end_time,omitempty" json:"endTime"` ParentId int64 `db:"parent_id,omitempty" json:"parentId"` Status int64 `db:"status,omitempty" json:"status"` AuditStatus int `db:"audit_status,omitempty" json:"auditStatus"` CustomField *string `db:"custom_field,omitempty" json:"customField"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime types.Time `db:"create_time,omitempty" json:"createTime"` Remark *string `db:"remark,omitempty" json:"remark"` }
type IssueAndDetailUnionBo ¶
type IssueAndDetailUnionBo struct { IssueId int64 `db:"issueId,omitempty"` IssueAuditStatus int `db:"issueAuditStatus,omitempty"` IssueStatusId int64 `db:"issueStatusId,omitempty"` IssueProjectObjectTypeId int64 `db:"issueProjectObjectTypeId,omitempty"` StoryPoint int `db:"storyPoint,omitempty"` PlanEndTime time.Time `db:"planEndTime,omitempty"` EndTime time.Time `db:"endTime,omitempty"` OwnerChangeTime time.Time `db:"ownerChangeTime,omitempty"` CreateTime time.Time `db:"createTime,omitempty"` // 新增的一些 field IssueStatusType int `json:"issueStatusType"` // 任务状态的分类 TableId int64 `json:"tableId"` // 任务所属的表 }
任务和明细联合的Bo
type IssueAssignCountBo ¶
type IssueAttachments ¶
type IssueAuthBo ¶
type IssueAuthBo struct { Id int64 Owner []int64 ProjectId int64 Creator int64 Status int64 Participants []int64 Followers []int64 TableId int64 }
任务验证bo
type IssueBo ¶
type IssueBo struct { Id int64 `json:"id"` OrgId int64 `json:"orgId"` TableId int64 `json:"tableId"` ProjectId int64 `json:"projectId"` ProjectObjectTypeId int64 `json:"projectObjectTypeId"` Title string `json:"title"` Code string `json:"code"` Path string `json:"path"` PriorityId int64 `json:"priorityId"` PlanStartTime types.Time `json:"planStartTime"` PlanEndTime types.Time `json:"planEndTime"` StartTime types.Time `json:"startTime"` EndTime types.Time `json:"endTime"` OwnerChangeTime types.Time `json:"ownerChangeTime"` PlanWorkHour int `json:"planWorkHour"` IterationId int64 `json:"iterationId"` VersionId int64 `json:"versionId"` ParentId int64 `json:"parentId"` AuditStatus int `json:"auditStatus"` AuditStatusDetail map[string]int `json:"auditStatusDetail"` Status int64 `json:"status"` // 对应无码字段issueStatus IssueStatusType int32 `json:"issueStatusType"` Creator int64 `json:"creator"` CreateTime types.Time `json:"createTime"` Updator int64 `json:"updator"` UpdateTime types.Time `json:"updateTime"` Sort int64 `json:"sort"` Order int64 `json:"order"` Version int `json:"version"` IsDelete int `json:"isDelete"` Remark string `json:"remark"` OwnerId []string `json:"ownerId"` FollowerIds []string `json:"followerIds"` AuditorIds []string `json:"auditorIds"` RelatingIssue RelatingIssue `json:"relating"` BaRelatingIssue RelatingIssue `json:"baRelating"` OutChatId string `json:"outChatId"` // 第三方平台群聊id LessData map[string]interface{} `json:"lessData"` AppId int64 `json:"appId"` DataId int64 `json:"dataId"` // 对应无码的主键id,区别于极星的issueId OwnerIdI64 []int64 `json:"-"` FollowerIdsI64 []int64 `json:"-"` AuditorIdsI64 []int64 `json:"-"` Documents map[string]interface{} `json:"-"` Images map[string]interface{} `json:"-"` }
type IssueBoListCond ¶
type IssueChildContStatus ¶
type IssueChildCountBo ¶
type IssueCombineBo ¶
type IssueCombineBo struct { IssueAndDetailInfoBo Children []IssueAndDetailInfoBo `json:"children"` }
type IssueCreateResourceReqBo ¶
type IssueCreateResourceReqBo struct { // 资源路径 ResourcePath string `json:"resourcePath"` // 资源大小,单位B ResourceSize int64 `json:"resourceSize"` // 文件名 FileName string `json:"fileName"` // 文件后缀 FileSuffix string `json:"fileSuffix"` // md5 Md5 *string `json:"md5"` // bucketName BucketName *string `json:"bucketName"` // 操作人 OperatorId int64 // 来源类型 PolicyType int // 资源存储类型 ResourceType int }
type IssueDailyNoticeBo ¶
type IssueDetailBo ¶
type IssueDetailBo struct { Id int64 `json:"id"` OrgId int64 `json:"orgId"` IssueId int64 `json:"issueId"` ProjectId int64 `json:"projectId"` StoryPoint int `json:"storyPoint"` Tags string `json:"tags"` Remark string `json:"remark"` RemarkDetail string `json:"remarkDetail"` Status int64 `json:"status"` Creator int64 `json:"creator"` CreateTime types.Time `json:"createTime"` Updator int64 `json:"updator"` UpdateTime types.Time `json:"updateTime"` Version int `json:"version"` }
type IssueGroupSimpleInfoBo ¶
type IssueIdData ¶
type IssueIdData struct {
Id int64 `json:"issueId"`
}
type IssueInfoBo ¶
type IssueInfoBo struct { Issue IssueBo `json:"issue"` Project *HomeIssueProjectInfoBo `json:"project"` Owner *HomeIssueOwnerInfoBo `json:"owner"` Status *status.StatusInfoBo `json:"status"` Priority *HomeIssuePriorityInfoBo `json:"priority"` ParticipantInfos []*UserIDInfoBo `json:"participantInfos"` FollowerInfos []*UserIDInfoBo `json:"followerInfos"` NextStatus []*status.StatusInfoBo `json:"nextStatus"` }
type IssueMembersBo ¶
type IssueNoticeBo ¶
type IssueNoticeBo struct { PushType consts.IssueNoticePushType `json:"pushType"` //推送类型 OrgId int64 `json:"orgId"` OperatorId int64 `json:"operatorId"` DataId int64 `json:"dataId"` IssueId int64 `json:"issueId"` ProjectId int64 `json:"projectId"` PriorityId int64 `json:"priorityId"` ParentId int64 `json:"parentId"` //父任务id TableId int64 `json:"tableId"` IssueTitle string `json:"issueTitle"` //更新后的任务标题 IssueRemark string `json:"issueRemark"` //任务描述 IssueStatusId int64 `json:"issueStatusId"` //更新后的任务状态 IssuePlanStartTime *types.Time `json:"issuePlanStartTime"` //更新后的任务开始时间 IssuePlanEndTime *types.Time `json:"issuePlanEndTime"` //更新后的任务结束时间 SourceChannel string `json:"sourceChannel"` //来源通道 BeforeOwner []int64 `json:"beforeOwner"` AfterOwner []int64 `json:"afterOwner"` BeforeChangeFollowers []int64 `json:"beforeChangeFollowers"` AfterChangeFollowers []int64 `json:"afterChangeFollowers"` BeforeChangeParticipants []int64 `json:"beforeChangeParticipants"` AfterChangeParticipants []int64 `json:"afterChangeParticipants"` IssueChildren []int64 `json:"issueChildren"` //相关联的子任务 UpdateOwner bool `json:"updateOwner"` UpdateFollower bool `json:"updateFollower"` }
type IssuePropertyBo ¶
type IssuePropertyBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` LangCode string `db:"lang_code,omitempty" json:"langCode"` Name string `db:"name,omitempty" json:"name"` Sort int `db:"sort,omitempty" json:"sort"` ProjectObjectTypeId int64 `db:"project_object_type_id,omitempty" json:"projectObjectTypeId"` Remark string `db:"remark,omitempty" json:"remark"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*IssuePropertyBo) TableName ¶
func (*IssuePropertyBo) TableName() string
type IssueRelationBo ¶
type IssueRelationBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` IssueId int64 `db:"issue_id,omitempty" json:"issueId"` RelationId int64 `db:"relation_id,omitempty" json:"relationId"` RelationCode string `db:"relation_code,omitempty" json:"relationCode"` RelationType int `db:"relation_type,omitempty" json:"relationType"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime types.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime types.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type IssueRemindInfoBo ¶
type IssueRemindInfoBo struct { //任务id Id int64 `json:"id" db:"id"` //计划结束时间 PlanEndTime types.Time `json:"planEndTime" db:"plan_end_time"` //计划开始时间 PlanStartTime types.Time `json:"planStartTime" db:"plan_start_time"` //负责人id OwnerId int64 `json:"ownerId" db:"owner"` //组织id OrgId int64 `json:"orgId" db:"org_id"` //项目id ProjectId int64 `json:"projectId" db:"project_id"` //标题 Title string `json:"title" db:"title"` //父任务id ParentId int64 `json:"parentId" db:"parent_id"` }
type IssueRemindMqBo ¶
type IssueRemindMqBo struct { //要处理的任务id IssueRemindInfoList []IssueRemindInfoBo `json:"issueRemindInfoList"` //traceId TraceId string `json:"traceId"` //推送类型 PushType consts.IssueNoticePushType `json:"pushType"` //推送类型 //提醒类型 RemindType int `json:"remindType"` }
type IssueRemindMsg ¶
type IssueRemindMsg struct { ScheduleTraceId string `json:"traceId"` PushType consts.IssueNoticePushType `json:"pushType"` OrgId int64 `json:"orgId"` SourceChannel string `json:"sourceChannel"` Operator int64 `json:"operator"` OwnerId []int64 `json:"ownerId"` OutOrgId string `json:"outOrgId"` //out org id OpenIds []string `json:"openIds"` //open ids AppId int64 `json:"appId"` ProjectId int64 `json:"projectId"` TableId int64 `json:"tableId"` IssueId int64 `json:"issueId"` ParentId int64 `json:"parentId"` Title string `json:"title"` ProjectName string `json:"projectName"` TableName string `json:"tableName"` PlanEndTime string `json:"planEndTime"` }
type IssueReportDetailBo ¶
type IssueReportDetailBo struct { Total int64 ReportUserName string StartTime string EndTime string List []HomeIssueInfoBo }
type IssueSourceBo ¶
type IssueSourceBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` LangCode string `db:"lang_code,omitempty" json:"langCode"` Name string `db:"name,omitempty" json:"name"` Sort int `db:"sort,omitempty" json:"sort"` ProjectObjectTypeId int64 `db:"project_object_type_id,omitempty" json:"projectObjectTypeId"` Remark string `db:"remark,omitempty" json:"remark"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*IssueSourceBo) TableName ¶
func (*IssueSourceBo) TableName() string
type IssueStatByObjectType ¶
type IssueStatByStatus ¶
type IssueStatistic ¶
type IssueStatistic struct { ProjectId int64 `db:"project_id" json:"projectId"` IterationId int64 `db:"iteration_id" json:"iterationId"` IterationName string `json:"iterationName" json:"iterationName"` Overdue int64 `db:"overdue" json:"overdue"` All int64 `db:"all" json:"all"` Finish int64 `db:"finish" json:"finish"` RelateUnfinish int64 `json:"relateUnfinish" json:"relateUnfinish"` }
type IssueStatusStatBo ¶
type IssueStatusStatBo struct { ProjectTypeId int64 ProjectTypeName string ProjectTypeLangCode string IssueCount int IssueWaitCount int IssueRunningCount int IssueEndCount int IssueEndTodayCount int //今日完成 IssueOverdueCount int //逾期数量 IssueOverdueTodayCount int //今日逾期 IssueOverdueEndCount int //逾期完成 IssueOverdueTomorrowCount int //明日逾期/即将逾期 TodayCount int //今日指派给我 TodayCreateCount int //今日创建的任务 StoryPointCount int StoryPointWaitCount int StoryPointRunningCount int StoryPointEndCount int WaitConfirmedCount int }
type IssueStatusStatCondBo ¶
type IssueTagBo ¶
type IssueTagReqBo ¶
任务标签结构体
type IssueTagStatBo ¶
type IssueTrendsBo ¶
type IssueTrendsBo struct { PushType consts.IssueNoticePushType `json:"pushType"` //推送类型 OrgId int64 `json:"orgId"` //组织id OperatorId int64 `json:"operatorId"` //操作人id DataId int64 `json:"dataId"` IssueId int64 `json:"issueId"` //任务id ParentIssueId int64 `json:"parentIssueId"` //父任务id ProjectId int64 `json:"projectId"` //项目id TableId int64 `json:"tableId"` PriorityId int64 `json:"priorityId"` //优先级id ParentId int64 `json:"parentId"` //父任务id IssueTitle string `json:"issueTitle"` //更新后的任务标题 IssueRemark string `json:"issueRemark"` //任务描述 IssueStatusId int64 `json:"issueStatusId"` //更新后的任务状态 IssuePlanStartTime *types.Time `json:"issuePlanStartTime"` //更新后的任务开始时间 IssuePlanEndTime *types.Time `json:"issuePlanEndTime"` //更新后的任务结束时间 SourceChannel string `json:"sourceChannel"` //来源通道 BeforeOwner []int64 `json:"beforeOwner"` //之前的负责人 AfterOwner []int64 `json:"afterOwner"` //新的负责人 BeforeChangeFollowers []int64 `json:"beforeChangeFollowers"` //之前的关注人 AfterChangeFollowers []int64 `json:"afterChangeFollowers"` //之后的负责人 BeforeChangeParticipants []int64 `json:"beforeChangeParticipants"` //之前的参与人 AfterChangeParticipants []int64 `json:"afterChangeParticipants"` //之后的参与人 BeforeChangeAuditors []int64 `json:"beforeChangeAuditors"` //之前的确认人 AfterChangeAuditors []int64 `json:"afterChangeAuditors"` //之后的确认人 RelatingChange map[string]*RelatingChangeBo `json:"relatingChange"` // 关联字段的变化 BaRelatingChange map[string]*RelatingChangeBo `json:"baRelatingChange"` // 前后置字段的变化 SingleRelatingChange map[string]*RelatingChangeBo `json:"singleRelatingChange"` // 单向关联字段的变化 BeforeChangeDocuments map[string]interface{} `json:"beforeChangeDocuments"` //之前的附件 AfterChangeDocuments map[string]interface{} `json:"afterChangeDocuments"` //之后的附件 BeforeChangeImages map[string]interface{} `json:"beforeChangeImages"` //之前的图片 AfterChangeImages map[string]interface{} `json:"afterChangeImages"` //之后的图片 BeforeWorkHourIds []int64 `json:"beforeWorkHourIds"` AfterWorkHourIds []int64 `json:"afterWorkHourIds"` UpdateOwner bool `json:"updateOwner"` UpdateFollower bool `json:"updateFollower"` UpdateAuditor bool `json:"updateAuditor"` UpdateWorkHour bool `json:"updateWorkHour"` // 标识是否变更了任务工时 IssueChildren []int64 `json:"issueChildren"` //相关联的子任务 OnlyNotice bool `json:"onlyNotice"` //如果为true,表示只处理通知 OperateObjProperty string `json:"operateObjProperty"` //操作属性 // 任务 NewValue string `json:"newValue"` //新值 OldValue string `json:"oldValue"` //老值 Ext TrendExtensionBo `json:"ext"` OperateTime time.Time `json:"operateTime"` //操作时间 }
type IssueUpdateBo ¶
type IssueUpdateBo struct { IssueBo IssueBo NewIssueBo IssueBo IssueUpdateCond mysql.Upd IssueDetailRemark *string IssueDetailRemarkDetail *string OwnerIds []int64 UpdateOwner bool UpdateParticipant bool UpdateFollower bool UpdateAuditor bool UpdateRelating bool UpdateBeforeRelating bool UpdateAfterRelating bool DeleteResource bool Participants []int64 Followers []int64 BeforeFollowers []int64 Auditors []int64 BindIssues []int64 UnbindIssues []int64 OperatorId int64 }
type IssueWorkHour ¶
type IssueWorkHour struct { PredictWorkHour string `json:"predictWorkHour"` ActualWorkHour string `json:"actualWorkHour"` // 预估工时详情列表 PredictList []*PredictListItem `json:"predictList"` // 实际工时详情列表 ActualList []*ActualListItem `json:"actualList"` }
type IssueWorkHoursBo ¶
type IssueWorkHoursBo struct { // Id 自增id Id uint64 `db:"id,omitempty" json:"id"` // OrgId 组织id OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` // IssueId 关联的任务id IssueId int64 `db:"issue_id,omitempty" json:"issueId"` // Type 记录类型:1总预估工时,2实际工时记录,3子预估工时 Type int8 `db:"type,omitempty" json:"type"` // 工作者id WorkerId int64 `db:"worker_id,omitempty" json:"workerId"` // NeedTime 工时的时间,单位分钟 NeedTime uint32 `db:"need_time,omitempty" json:"needTime"` // StartTime 开始时间,时间戳 StartTime uint32 `db:"start_time,omitempty" json:"startTime"` // EndTime 工时记录的结束时间,时间戳 EndTime uint32 `db:"end_time,omitempty" json:"endTime"` // Desc 工时记录的内容,工作内容 Desc string `db:"desc,omitempty" json:"desc"` // Creator 工时记录创建者id Creator int64 `db:"creator,omitempty" json:"creator"` // Updator 工时记录更新者的id Updator int64 `db:"updator,omitempty" json:"updator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int32 `db:"version,omitempty" json:"version"` IsDelete int8 `db:"is_delete,omitempty" json:"isDelete"` }
type IssueWorkHoursBoListCondBo ¶
type IssueWorkHoursBoListCondBo struct { Ids []uint64 `json:"ids"` OrgId int64 `json:"orgId"` ProjectId int64 `json:"projectId"` ProjectIds []int64 `json:"projectIds"` IssueId int64 `json:"issueId"` // 查询多个任务下的工时 IssueIds []int64 `json:"issueIds"` Type uint8 `json:"type"` // 记录类型:1预估工时记录,2实际工时记录,3子预估工时。目前主要可分为2、3;类型 1 的已经弱化掉了。 Types []uint8 `json:"types"` WorkerIds []int64 `json:"workerIds"` // 查询 start_time 的区间数据:start_time>StartTimeT1 && start_time<=StartTimeT2 StartTimeT1 int64 `json:"startTimeT1"` StartTimeT2 int64 `json:"startTimeT2"` // 查询 end_time 的区间数据 EndTimeT1 int64 `json:"endTimeT1"` EndTimeT2 int64 `json:"endTimeT2"` IsDelete uint8 `json:"isDelete"` Page int `json:"page"` Size int `json:"size"` }
type IterationBo ¶
type IterationBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` Name string `db:"name,omitempty" json:"name"` Sort int64 `db:"sort,omitempty" json:"sort"` Owner int64 `db:"owner,omitempty" json:"owner"` VersionId int64 `db:"version_id,omitempty" json:"versionId"` PlanStartTime types.Time `db:"plan_start_time,omitempty" json:"planStartTime"` PlanEndTime types.Time `db:"plan_end_time,omitempty" json:"planEndTime"` PlanWorkHour int `db:"plan_work_hour,omitempty" json:"planWorkHour"` StoryPoint int `db:"story_point,omitempty" json:"storyPoint"` Remark string `db:"remark,omitempty" json:"remark"` Status int64 `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime types.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime types.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*IterationBo) TableName ¶
func (*IterationBo) TableName() string
type IterationInfoBo ¶
type IterationInfoBo struct { // 迭代信息 Iteration IterationBo `json:"iteration"` // 项目信息 Project *HomeIssueProjectInfoBo `json:"project"` // 状态信息 Status *status.StatusInfoBo `json:"status"` // 负责人信息 Owner *UserIDInfoBo `json:"owner"` // 下一步骤状态列表 NextStatus *[]status.StatusInfoBo `json:"nextStatus"` }
type IterationStatBo ¶
type IterationStatBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` IterationId int64 `db:"iteration_id,omitempty" json:"iterationId"` IssueCount int `db:"issue_count,omitempty" json:"issueCount"` IssueWaitCount int `db:"issue_wait_count,omitempty" json:"issueWaitCount"` IssueRunningCount int `db:"issue_running_count,omitempty" json:"issueRunningCount"` IssueOverdueCount int `db:"issue_overdue_count,omitempty" json:"issueOverdueCount"` IssueEndCount int `db:"issue_end_count,omitempty" json:"issueEndCount"` DemandCount int `db:"demand_count,omitempty" json:"demandCount"` DemandWaitCount int `db:"demand_wait_count,omitempty" json:"demandWaitCount"` DemandRunningCount int `db:"demand_running_count,omitempty" json:"demandRunningCount"` DemandOverdueCount int `db:"demand_overdue_count,omitempty" json:"demandOverdueCount"` DemandEndCount int `db:"demand_end_count,omitempty" json:"demandEndCount"` StoryPointCount int `db:"story_point_count,omitempty" json:"storyPointCount"` StoryPointWaitCount int `db:"story_point_wait_count,omitempty" json:"storyPointWaitCount"` StoryPointRunningCount int `db:"story_point_running_count,omitempty" json:"storyPointRunningCount"` StoryPointOverdueCount int `db:"story_point_overdue_count,omitempty" json:"storyPointOverdueCount"` StoryPointEndCount int `db:"story_point_end_count,omitempty" json:"storyPointEndCount"` TaskCount int `db:"task_count,omitempty" json:"taskCount"` TaskWaitCount int `db:"task_wait_count,omitempty" json:"taskWaitCount"` TaskRunningCount int `db:"task_running_count,omitempty" json:"taskRunningCount"` TaskOverdueCount int `db:"task_overdue_count,omitempty" json:"taskOverdueCount"` TaskEndCount int `db:"task_end_count,omitempty" json:"taskEndCount"` BugCount int `db:"bug_count,omitempty" json:"bugCount"` BugWaitCount int `db:"bug_wait_count,omitempty" json:"bugWaitCount"` BugRunningCount int `db:"bug_running_count,omitempty" json:"bugRunningCount"` BugOverdueCount int `db:"bug_overdue_count,omitempty" json:"bugOverdueCount"` BugEndCount int `db:"bug_end_count,omitempty" json:"bugEndCount"` TesttaskCount int `db:"testtask_count,omitempty" json:"testtaskCount"` TesttaskWaitCount int `db:"testtask_wait_count,omitempty" json:"testtaskWaitCount"` TesttaskRunningCount int `db:"testtask_running_count,omitempty" json:"testtaskRunningCount"` TesttaskOverdueCount int `db:"testtask_overdue_count,omitempty" json:"testtaskOverdueCount"` TesttaskEndCount int `db:"testtask_end_count,omitempty" json:"testtaskEndCount"` Ext string `db:"ext,omitempty" json:"ext"` StatDate time.Time `db:"stat_date,omitempty" json:"statDate"` Status int64 `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*IterationStatBo) TableName ¶
func (*IterationStatBo) TableName() string
type IterationUpdateBo ¶
type IterationUpdateBo struct { Id int64 Upd mysql.Upd IterationNewBo IterationBo }
type LabConfigBo ¶
type LcAppView ¶
type LcAppView struct { ViewName string `json:"viewName"` Type int `json:"type"` Config AppViewConfig `json:"config"` }
type LcAppViewJson ¶
type MQTTDataRefreshNotice ¶
type MQTTDataRefreshNotice struct { //组织id OrgId int64 `json:"orgId"` //项目id,为0说明跟项目无关 ProjectId int64 `json:"projectId"` //应用id AppId int64 `json:"appId"` //动作, ADD,新增,DEL,删除,MODIFY,变动 Action string `json:"action"` //操作人 OperationId int64 `json:"operationId"` //类型 Type string `json:"type"` //局部数据 PartialRefresh []MQTTPartialRefresh `json:"partialRefresh"` //全量刷新 GlobalRefresh []MQTTGlobalRefresh `json:"globalRefresh"` //移动 MoveRefresh MoveRefresh `json:"moveRefresh"` }
type MQTTGlobalRefresh ¶
type MQTTNoticeBo ¶
type MQTTNoticeBo struct { //具体消息类型(跟动态类型一致) //NoticeType int `json:"noticeType"` //类型:1、提示通知(pc弹框),2:数据刷新 Type int `json:"type"` //消息体 Body interface{} `json:"body"` }
type MQTTPartialRefresh ¶
type MQTTPartialRefresh struct { //对象id ObjectId int64 `json:"objectId"` //field Fields []ObjectField `json:"fields"` }
type MQTTRemindNotice ¶
type MemberConditionValues ¶
type MenuConfig ¶
type MessageBo ¶
type MessageBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` Topic string `db:"topic,omitempty" json:"topic"` Type int `db:"type,omitempty" json:"type"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` IssueId int64 `db:"issue_id,omitempty" json:"issueId"` TrendsId int64 `db:"trends_id,omitempty" json:"trendsId"` Info string `db:"info,omitempty" json:"info"` Content *string `db:"content,omitempty" json:"content"` FailCount int `db:"fail_count,omitempty" json:"failCount"` FailTime time.Time `db:"fail_time,omitempty" json:"failTime"` FailMsg string `db:"fail_msg,omitempty" json:"failMsg"` FinishStatus string `db:"finish_status,omitempty" json:"finishStatus"` FinishMsg string `db:"finish_msg,omitempty" json:"finishMsg"` StartTime time.Time `db:"start_time,omitempty" json:"startTime"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type MobilePrefixBo ¶
type MobilePrefixBo struct { Id int64 `db:"id,omitempty" json:"id"` En string `db:"en,omitempty" json:"en"` Zh string `db:"zh,omitempty" json:"zh"` Code string `db:"code,omitempty" json:"code"` Locale string `db:"locale,omitempty" json:"locale"` Preg string `db:"preg,omitempty" json:"preg"` CountryId int64 `db:"country_id,omitempty" json:"countryId"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*MobilePrefixBo) TableName ¶
func (*MobilePrefixBo) TableName() string
type MoveIssueBatchBo ¶
type MoveRefresh ¶
type MoveRefresh struct { Old MQTTGlobalRefresh `json:"old"` New []MQTTGlobalRefresh `json:"new"` }
type MqMessageExt ¶
type MqMessageExt struct { MqMessage /** 消息id */ MessageID string /** 仅rocketmq */ QueueId int /** 重新消费次数 */ ReconsumeTimes int /** 仅rocketmq */ StoreSize int /** 消息创建时间戳 */ BornTimestamp int64 /** 持久化时间戳 */ StoreTimestamp int64 /** 仅rocketmq */ QueueOffset int64 /** 仅rocketmq */ CommitLogOffset int64 /** 仅rocketmq */ PreparedTransactionOffset int64 /** 发送结果,1成功,2失败 */ SendStatus int }
type MqttIssueInfo ¶
type MqttIssueInfo struct {
Info MqttIssueLessData `json:"info"`
}
type MqttIssueLessData ¶
type MqttIssueLessData struct {
LessData map[string]interface{} `json:"lessData"`
}
type NeedCopyColumnsValue ¶
type NoticeBo ¶
type NoticeBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` Type int `db:"type,omitempty" json:"type"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` IssueId int64 `db:"issue_id,omitempty" json:"issueId"` TrendsId int64 `db:"trends_id,omitempty" json:"trendsId"` Content string `db:"content,omitempty" json:"content"` Noticer int64 `db:"noticer,omitempty" json:"noticer"` Status int `db:"status,omitempty" json:"status"` RelationType string `db:"relation_type,omitempty" json:"relationType"` Ext string `db:"ext,omitempty" json:"ext"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type ObjectField ¶
type ObjectField struct { Field string `json:"field"` Value interface{} `json:"value"` //新对象内容 NewObjectValue interface{} `json:"newObjectValue"` }
type ObjectIdCache ¶
type OpenAuthInfo ¶
开放平台认证信息
type OperationBo ¶
type OperationBo struct { Id int64 `db:"id,omitempty" json:"id"` Code string `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` Remark string `db:"remark,omitempty" json:"remark"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*OperationBo) TableName ¶
func (*OperationBo) TableName() string
type OrdPricePlanFs ¶
type OrdPricePlanFs struct { Id int64 `db:"id,omitempty" json:"id"` OutPlanId string `db:"out_plan_id,omitempty" json:"outPlanId"` Name string `db:"name,omitempty" json:"name"` PricePlanType string `db:"price_plan_type,omitempty" json:"pricePlanType"` Seats int `db:"seats,omitempty" json:"seats"` TrialDays int `db:"trial_days,omitempty" json:"trialDays"` ExpireDays int `db:"expire_days,omitempty" json:"expireDays"` EndDate time.Time `db:"end_date,omitempty" json:"endDate"` MonthPrice int64 `db:"month_price,omitempty" json:"monthPrice"` YearPrice int64 `db:"year_price,omitempty" json:"yearPrice"` Level int64 `db:"level,omitempty" json:"level"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*OrdPricePlanFs) TableName ¶
func (*OrdPricePlanFs) TableName() string
type OrderDingBo ¶
type OrderDingBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` OutOrgId string `db:"out_org_id,omitempty" json:"outOrgId"` OrderId string `db:"order_id,omitempty" json:"orderId"` GoodsName string `db:"goods_name,omitempty" json:"goodsName"` GoodsCode string `db:"goods_code,omitempty" json:"goodsCode"` ItemName string `db:"item_name,omitempty" json:"itemName"` ItemCode string `db:"item_code,omitempty" json:"itemCode"` Quantity int `db:"quantity,omitempty" json:"quantity"` OrderPayPrice int64 `db:"order_pay_price,omitempty" json:"orderPayPrice"` OrderType string `db:"order_type,omitempty" json:"orderType"` PaidTime time.Time `db:"paid_time,omitempty" json:"paidTime"` OrderCreateTime time.Time `db:"order_create_time,omitempty" json:"orderCreateTime"` StartTime time.Time `db:"start_time,omitempty" json:"startTime"` EndTime time.Time `db:"end_time,omitempty" json:"endTime"` Status int `db:"status,omitempty" json:"status"` OrderSource string `db:"order_source,omitempty" json:"orderSource"` SaleModelType string `db:"sale_model_type,omitempty" json:"saleModelType"` AutoChangeFreeItem int `db:"auto_change_free_item" json:"autoChangeFreeItem"` OrderChargeType string `db:"order_charge_type" json:"orderChargeType"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*OrderDingBo) TableName ¶
func (*OrderDingBo) TableName() string
type OrderFsBo ¶
type OrderFsBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` OrderId string `db:"order_id,omitempty" json:"orderId"` PricePlanId string `db:"price_plan_id,omitempty" json:"pricePlanId"` PricePlanType string `db:"price_plan_type,omitempty" json:"pricePlanType"` Seats int `db:"seats,omitempty" json:"seats"` BuyCount int `db:"buy_count,omitempty" json:"buyCount"` PaidTime time.Time `db:"paid_time,omitempty" json:"paidTime"` OrderCreateTime time.Time `db:"order_create_time,omitempty" json:"orderCreateTime"` Status string `db:"status,omitempty" json:"status"` BuyType string `db:"buy_type,omitempty" json:"buyType"` SrcOrderId string `db:"src_order_id,omitempty" json:"srcOrderId"` DstOrderId string `db:"dst_order_id,omitempty" json:"dstOrderId"` OrderPayPrice int64 `db:"order_pay_price,omitempty" json:"orderPayPrice"` TenantKey string `db:"tenant_key,omitempty" json:"tenantKey"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type OrderWeiXinBo ¶
type OrderWeiXinBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` OutOrgId string `db:"out_org_id,omitempty" json:"outOrgId"` OrderId string `db:"order_id,omitempty" json:"orderId"` EditionId string `db:"edition_id,omitempty" json:"editionId"` EditionName string `db:"edition_name,omitempty" json:"editionName"` OrderType int `db:"order_type,omitempty" json:"orderType"` OrderStatus int `db:"order_status,omitempty" json:"orderStatus"` UserCount int `db:"user_count,omitempty" json:"userCount"` OrderPeriod int `db:"order_period,omitempty" json:"orderPeriod"` PaidTime time.Time `db:"paid_time,omitempty" json:"paidTime"` BeginTime time.Time `db:"begin_time,omitempty" json:"beginTime"` EndTime time.Time `db:"end_time,omitempty" json:"endTime"` OrderPayPrice int64 `db:"order_pay_price,omitempty" json:"orderPayPrice"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type OrgAndUserInfo ¶
type OrgAuthTicketInfoBo ¶
type OrgAuthTicketInfoBo struct {
PermanentCode string
}
type OrgConfigBo ¶
type OrgConfigBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` TimeZone string `db:"time_zone,omitempty" json:"timeZone"` TimeDifference string `db:"time_difference,omitempty" json:"timeDifference"` PayLevel int `db:"pay_level,omitempty" json:"payLevel"` PayStartTime time.Time `db:"pay_start_time,omitempty" json:"payStartTime"` PayEndTime time.Time `db:"pay_end_time,omitempty" json:"payEndTime"` Seats int `db:"seats,omitempty" json:"seats"` BasicShowSetting string `db:"basic_show_setting,omitempty" json:"basicShowSetting"` WebSite string `db:"web_site,omitempty" json:"webSite"` Language string `db:"language,omitempty" json:"language"` RemindSendTime string `db:"remind_send_time,omitempty" json:"remindSendTime"` ProjectDailyReportSendTime string `db:"project_daily_report_send_time,omitempty" json:"projectDailyReportSendTime"` DatetimeFormat string `db:"datetime_format,omitempty" json:"datetimeFormat"` PasswordLength int `db:"password_length,omitempty" json:"passwordLength"` PasswordRule int `db:"password_rule,omitempty" json:"passwordRule"` MaxLoginFailCount int `db:"max_login_fail_count,omitempty" json:"maxLoginFailCount"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` }
type OrgMemberBaseInfoBo ¶
type OrgMemberBaseInfoBo struct { OrgId int64 `db:"org_id,omitempty" json:"orgId"` OrgName string `db:"org_name,omitempty" json:"orgName"` // OrgName UserId int64 `db:"user_id,omitempty" json:"userId"` LoginName string `db:"login_name,omitempty" json:"loginName"` Name string `db:"name,omitempty" json:"name"` NamePinyin string `db:"name_pinyin,omitempty" json:"namePinyin"` Email string `db:"email,omitempty" json:"email"` MobileRegion string `db:"mobile_region,omitempty" json:"mobileRegion"` Mobile string `db:"mobile,omitempty" json:"mobile"` Sex string `db:"sex,omitempty" json:"sex"` // Sex Birthday time.Time `db:"birthday,omitempty" json:"birthday"` // Birthday Language string `db:"language,omitempty" json:"language"` // Language Avatar string `db:"avatar,omitempty" json:"avatar"` EmpNo string `db:"emp_no,omitempty" json:"empNo"` // 工号 WeiboIds string `db:"weibo_ids,omitempty" json:"weiboIds"` // 微博ID array string ,号分割 CheckStatus int `db:"check_status,omitempty" json:"checkStatus"` Status int `db:"status,omitempty" json:"status"` Type int `db:"type,omitempty" json:"type"` StatusChangeTime time.Time `db:"status_change_time,omitempty" json:"statusChangeTime"` // status修改时间 UseStatus int `db:"use_status,omitempty" json:"useStatus"` // 使用过该组织 AuditorId int64 `db:"auditor_id,omitempty" json:"auditorId"` // 审核人 AuditTime time.Time `db:"audit_time,omitempty" json:"auditTime"` // 审核时间 OrgCreator int64 `db:"org_creator,omitempty" json:"orgCreator"` // 组织创建者 OrgOwner int64 `db:"org_owner,omitempty" json:"orgOwner"` // 组织拥有者 Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` // IsDelete }
type OrgMemberChangeBo ¶
type OrgMemberChangeBo struct { //变动类型:1 禁用,2 启用,3 新加入组织(正常),4 从组织移除,5:新加入组织(禁用) ChangeType int `json:"changeType"` //组织id OrgId int64 `json:"orgId"` //变动人员id UserId int64 `json:"userId"` // 所在部门 DeptIds []string `json:"deptIds"` //变动OpenIds OpenId string `json:"openId"` // 新的outUserId,微信可以改一次 NewOutUserId string `json:"newOutUserId"` //来源 SourceChannel string `json:"sourceChannel"` }
type OrgOutInfoBo ¶
type OrgOutInfoBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` OutOrgId string `db:"out_org_id,omitempty" json:"outOrgId"` SourceChannel string `db:"source_channel,omitempty" json:"sourceChannel"` SourcePlatform string `db:"source_platform,omitempty" json:"sourcePlatform"` TenantCode string `db:"tenant_code,omitempty" json:"tenantCode"` Name string `db:"name,omitempty" json:"name"` Industry string `db:"industry,omitempty" json:"industry"` IsAuthenticated int `db:"is_authenticated,omitempty" json:"isAuthenticated"` AuthTicket string `db:"auth_ticket,omitempty" json:"authTicket"` AuthLevel string `db:"auth_level,omitempty" json:"authLevel"` Status int `db:"status" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete" json:"isDelete"` }
func (*OrgOutInfoBo) TableName ¶
func (*OrgOutInfoBo) TableName() string
type OrgProjectMemberBo ¶
type OrgProjectMemberBo struct { ID int64 `json:"id"` OrgID int64 `json:"orgId"` OrgName string `json:"orgName"` Name string `json:"name"` LoginName string `json:"loginName"` LoginNameEditCount int `json:"loginNameEditCount"` Email string `json:"email"` Mobile string `json:"mobile"` Birthday types.Time `json:"birthday"` Sex int `json:"sex"` Level int `json:"level"` LevelName string `json:"levelName"` SourceChannel string `json:"sourceChannel"` OutOrgUserId string `json:"outOrgUserId"` OutUserId string `json:"outUserId"` OutUserName string `json:"outUserName"` }
type OrgTrendsBo ¶
type OrgTrendsBo struct { OrgId int64 PushType consts.IssueNoticePushType //推送类型 TargetMembers []int64 //被操作的成员,根据pushType去区分业务场景 SourceChannel string //来源通道 OperatorId int64 OperateTime time.Time `json:"operateTime"` }
组织动态结构体
type OrgTrendsBoExt ¶
type OrgTrendsBoExt struct { MemberInfo []SimpleUserInfoBo `json:"memberInfo"` OrgName string `json:"orgName"` }
组织动态结构体ext
type OrgUserInfo ¶
type OrgUserInfo struct { UserId int64 `db:"user_id" json:"userId"` OutUserId string `db:"out_user_id" json:"outUserId"` //有可能为空 OrgId int64 `db:"org_id" json:"orgId"` OrgUserStatus int `db:"org_user_status" json:"orgUserStatus"` //用户组织状态 OrgUserCheckStatus int `db:"org_user_check_status" json:"orgUserCheckStatus"` //用户组织审核状态 }
type OrganizationBo ¶
type OrganizationBo struct { Id int64 `db:"id,omitempty" json:"id"` Name string `db:"name,omitempty" json:"name"` Code string `db:"code,omitempty" json:"code"` WebSite string `db:"web_site,omitempty" json:"webSite"` IndustryId int64 `db:"industry_id,omitempty" json:"industryId"` Scale string `db:"scale,omitempty" json:"scale"` SourceChannel string `db:"source_channel,omitempty" json:"sourceChannel"` CountryId int64 `db:"country_id,omitempty" json:"countryId"` ProvinceId int64 `db:"province_id,omitempty" json:"provinceId"` CityId int64 `db:"city_id,omitempty" json:"cityId"` Address string `db:"address,omitempty" json:"address"` LogoUrl string `db:"logo_url,omitempty" json:"logoUrl"` ResourceId int64 `db:"resource_id,omitempty" json:"resourceId"` Owner int64 `db:"owner,omitempty" json:"owner"` IsAuthenticated int `db:"is_authenticated,omitempty" json:"isAuthenticated"` Remark string `db:"remark,omitempty" json:"remark"` InitStatus int `db:"init_status,omitempty" json:"initStatus"` InitVersion int `db:"init_version,omitempty" json:"initVersion"` Status int `db:"status,omitempty" json:"status"` IsShow int `db:"is_show,omitempty" json:"isShow"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type OrganizationInfoBo ¶
type OrganizationInfoBo struct { Id int64 `db:"id,omitempty" json:"id"` Name string `db:"name,omitempty" json:"name"` WebSite string `db:"web_site,omitempty" json:"webSite"` IndustryId int64 `db:"industry_id,omitempty" json:"industryId"` IndustryName string `db:"industry_name" json:"industryName"` Scale string `db:"scale,omitempty" json:"scale"` SourceChannel string `db:"source_channel,omitempty" json:"sourceChannel"` CountryId int64 `db:"country_id,omitempty" json:"countryId"` CountryCname string `db:"country_cname" json:"countryCname"` ProvinceId int64 `db:"province_id,omitempty" json:"provinceId"` ProvinceCname string `db:"province_cname" json:"provinceCname"` CityId int64 `db:"city_id,omitempty" json:"cityId"` CityCname string `db:"city_cname" json:"cityCname"` Address string `db:"address,omitempty" json:"address"` LogoUrl string `db:"logo_url,omitempty" json:"logoUrl"` ResourceId int64 `db:"resource_id,omitempty" json:"resourceId"` Owner int64 `db:"owner,omitempty" json:"owner"` IsAuthenticated int `db:"is_authenticated,omitempty" json:"isAuthenticated"` Remark string `db:"remark,omitempty" json:"remark"` InitStatus int `db:"init_status,omitempty" json:"initStatus"` InitVersion int `db:"init_version,omitempty" json:"initVersion"` Status int `db:"status,omitempty" json:"status"` IsShow int `db:"is_show,omitempty" json:"isShow"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type OssCallBackBody ¶
type OssCallBackBody struct { Host string `json:"host"` //host UserId int64 `json:"userId"` //用户id OrgId int64 `json:"orgId"` //组织id Type int `json:"type"` //类型 Path string `json:"path"` //文件path Filename string `json:"filename"` //文件名(不带后缀) ProjectId int64 `json:"projectId"` //项目id IssueId int64 `json:"issueId"` //任务id ColumnId string `json:"columnId"` //列id TableId string `json:"tableId"` //表id AppId string `json:"appId"` //APPid FolderId int64 `json:"folderId"` //目录id Bucket string `json:"bucket"` //存储空间 Size int64 `json:"size"` //大小 Format string `json:"format"` //格式(后缀) Object string `json:"object"` //对象(文件path) RealName string `json:"realName"` //文件实际的名称,需要前端传x:filename }
oss callback body
type OssCallBackExtProperties ¶
type OssCallBackExtProperties struct { Size int64 `json:"size"` //大小 Format string `json:"format"` //格式(后缀) Object string `json:"object"` //对象(文件path) Filename string `json:"filename"` //文件实际的名称,需要前端传x:filename }
oss callback body ext properties
type OssCallbackBo ¶
type OssKeyInfo ¶
type OssKeyInfo struct { OrgId int64 `json:"orgId"` ProjectId int64 `json:"projectId"` IssueId int64 `json:"issueId"` }
oss的key信息
type OutGroupChatSettingBo ¶
type OutGroupChatSettingBo struct { ChatId string `json:"chatId"` Tables []OutGroupChatSettingOneTableBo `json:"tables"` }
type OutGroupChatSettingOneTableBo ¶
type OutGroupChatSettingOneTableBo struct { // 表的 id TableIDStr string `json:"tableIdStr"` // 创建任务时,是否推送。1:推送 CreateIssueCase int `json:"createIssueCase"` // 任务被评论时是否推送。1:推送 CommentIssueCase int `json:"commentIssueCase"` // 任务的某些字段被修改时,是否推送。1:推送(字段请看 modifyColumnsOfSend) UpdateIssueCase int `json:"updateIssueCase"` // 如果开启“任务修改推送”时,这些字段被修改时,才推送消息 ModifyColumnsOfSend []*string `json:"modifyColumnsOfSend"` }
type ParentIdData ¶
type ParentIdData struct {
Id int64 `json:"parentId"`
}
type ParentInfo ¶
type PayRangeData ¶
type PayRangeData struct { OrgId int64 `json:"orgId"` OutOrgId string `json:"outOrgId"` SourceChannel string `json:"sourceChannel"` ScopeNum int `json:"scopeNum"` // 授权可见范围人数 PayNum int `json:"payNum"` // 付费人数 EndTime string `json:"endTime"` // 付费版本结束时间 UserIds []int64 `json:"userIds"` // 已经登录过极星的userId IsFsSetPayRange int `json:"isFsSetPayRange"` // 飞书是否设置过了可见范围 }
type PermissionBo ¶
type PermissionBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` LangCode string `db:"lang_code,omitempty" json:"langCode"` Code string `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` ParentId int64 `db:"parent_id,omitempty" json:"parentId"` Type int `db:"type,omitempty" json:"type"` Path string `db:"path,omitempty" json:"path"` IsShow int `db:"is_show,omitempty" json:"isShow"` Remark string `db:"remark,omitempty" json:"remark"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*PermissionBo) TableName ¶
func (*PermissionBo) TableName() string
type PermissionOperationBo ¶
type PermissionOperationBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` PermissionId int64 `db:"permission_id,omitempty" json:"permissionId"` LangCode string `db:"lang_code,omitempty" json:"langCode"` Name string `db:"name,omitempty" json:"name"` OperationCodes string `db:"operation_codes,omitempty" json:"operationCodes"` Remark string `db:"remark,omitempty" json:"remark"` IsShow int `db:"is_show,omitempty" json:"isShow"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*PermissionOperationBo) TableName ¶
func (*PermissionOperationBo) TableName() string
type PermissionOperationListBo ¶
type PermissionOperationListBo struct { PermissionInfo PermissionBo `json:"permissionInfo"` OperationList []PermissionOperationBo `json:"operationList"` PermissionHave []int64 `json:"permissionHave"` }
type PlatformAdminBo ¶
type PpmOrcFunctionConfig ¶
type PpmOrcFunctionConfig struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` FunctionCode string `db:"function_code,omitempty" json:"functionCode"` Remark string `db:"remark,omitempty" json:"remark"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*PpmOrcFunctionConfig) TableName ¶
func (*PpmOrcFunctionConfig) TableName() string
type PpmOrgUserOrganizationBo ¶
type PpmOrgUserOrganizationBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` UserId int64 `db:"user_id,omitempty" json:"userId"` CheckStatus int `db:"check_status,omitempty" json:"checkStatus"` UseStatus int `db:"use_status,omitempty" json:"useStatus"` Status int `db:"status,omitempty" json:"status"` StatusChangeTime time.Time `db:"status_change_time,omitempty" json:"statusChangeTime"` AuditorId int64 `db:"auditor_id,omitempty" json:"auditorId"` AuditTime time.Time `db:"audit_time,omitempty" json:"auditTime"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type PpmPriIterationStatusRelationBo ¶
type PpmPriIterationStatusRelationBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` IterationId int64 `db:"iteration_id,omitempty" json:"iterationId"` StatusId int64 `db:"status_id,omitempty" json:"statusId"` PlanStartTime time.Time `db:"plan_start_time,omitempty" json:"planStartTime"` PlanEndTime time.Time `db:"plan_end_time,omitempty" json:"planEndTime"` StartTime time.Time `db:"start_time,omitempty" json:"startTime"` EndTime time.Time `db:"end_time,omitempty" json:"endTime"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type PpmPrsRecycleBin ¶
type PpmPrsRecycleBin struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` RelationId int64 `db:"relation_id,omitempty" json:"relationId"` RelationType int `db:"relation_type,omitempty" json:"relationType"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type PredictListItem ¶
type PredictListItem struct { // 工时执行人名字 Name string `json:"name"` // 工时,单位:小时。 WorkHour string `json:"workHour"` }
预估工时详情列表单个对象
type PriorityBo ¶
type PriorityBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` LangCode string `db:"lang_code,omitempty" json:"langCode"` Name string `db:"name,omitempty" json:"name"` Type int `db:"type,omitempty" json:"type"` Sort int `db:"sort,omitempty" json:"sort"` BgStyle string `db:"bg_style,omitempty" json:"bgStyle"` FontStyle string `db:"font_style,omitempty" json:"fontStyle"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` Remark string `db:"remark,omitempty" json:"remark"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*PriorityBo) TableName ¶
func (*PriorityBo) TableName() string
type ProjectAuthBo ¶
type ProjectAuthBo struct { Id int64 `json:"id"` AppId int64 `json:"appId,string"` Name string `json:"name"` Creator int64 `json:"creator"` Owner int64 `json:"owner"` ProjectTypeId int64 `json:"projectTypeId"` Status int64 `json:"status"` PublicStatus int `json:"publicStatus"` //公共状态 IsFilling int `json:"isFilling"` Participants []int64 `json:"participants"` ParticipantDepartments []int64 `json:"participantDepartments"` Followers []int64 `json:"followers"` ProjectType int64 `json:"projectType"` OwnerIds []int64 `json:"ownerIds"` }
type ProjectBo ¶
type ProjectBo struct { Id int64 `db:"id,omitempty" json:"id"` AppId int64 `db:"app_id,omitempty" json:"appId,string"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` Code string `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` PreCode string `db:"pre_code,omitempty" json:"preCode"` Owner int64 `db:"owner,omitempty" json:"owner"` ProjectTypeId int64 `db:"project_type_id,omitempty" json:"projectTypeId"` PriorityId int64 `db:"priority_id,omitempty" json:"priorityId"` PlanStartTime types.Time `db:"plan_start_time,omitempty" json:"planStartTime"` PlanEndTime types.Time `db:"plan_end_time,omitempty" json:"planEndTime"` PublicStatus int `db:"public_status,omitempty" json:"publicStatus"` TemplateFlag int `db:"template_flag,omitempty" json:"templateFlag"` ResourceId int64 `db:"resource_id,omitempty" json:"resourceId"` IsFiling int `db:"is_filing,omitempty" json:"isFiling"` Remark string `db:"remark,omitempty" json:"remark"` Status int64 `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime types.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime types.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` OwnerIds []int64 `json:"ownerIds"` }
type ProjectCreateResourceReqBo ¶
type ProjectCreateResourceReqBo struct { ProjectId int64 `json:"projectId"` OrgId int64 `json:"orgId"` FolderId int64 `json:"folderId"` // 资源路径 ResourcePath string `json:"resourcePath"` // 资源大小,单位B ResourceSize int64 `json:"resourceSize"` // 文件名 FileName string `json:"fileName"` // 文件后缀 FileSuffix string `json:"fileSuffix"` // md5 Md5 *string `json:"md5"` // bucketName BucketName *string `json:"bucketName"` //文件类型 FileType int // 操作人 OperatorId int64 // 来源类型 PolicyType int // 资源存储类型 ResourceType int }
type ProjectDayStatBo ¶
type ProjectDayStatBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` IssueCount int `db:"issue_count,omitempty" json:"issueCount"` IssueWaitCount int `db:"issue_wait_count,omitempty" json:"issueWaitCount"` IssueRunningCount int `db:"issue_running_count,omitempty" json:"issueRunningCount"` IssueOverdueCount int `db:"issue_overdue_count,omitempty" json:"issueOverdueCount"` IssueEndCount int `db:"issue_end_count,omitempty" json:"issueEndCount"` DemandCount int `db:"demand_count,omitempty" json:"demandCount"` DemandWaitCount int `db:"demand_wait_count,omitempty" json:"demandWaitCount"` DemandRunningCount int `db:"demand_running_count,omitempty" json:"demandRunningCount"` DemandOverdueCount int `db:"demand_overdue_count,omitempty" json:"demandOverdueCount"` DemandEndCount int `db:"demand_end_count,omitempty" json:"demandEndCount"` StoryPointCount int `db:"story_point_count,omitempty" json:"storyPointCount"` StoryPointWaitCount int `db:"story_point_wait_count,omitempty" json:"storyPointWaitCount"` StoryPointRunningCount int `db:"story_point_running_count,omitempty" json:"storyPointRunningCount"` StoryPointOverdueCount int `db:"story_point_overdue_count,omitempty" json:"storyPointOverdueCount"` StoryPointEndCount int `db:"story_point_end_count,omitempty" json:"storyPointEndCount"` TaskCount int `db:"task_count,omitempty" json:"taskCount"` TaskWaitCount int `db:"task_wait_count,omitempty" json:"taskWaitCount"` TaskRunningCount int `db:"task_running_count,omitempty" json:"taskRunningCount"` TaskOverdueCount int `db:"task_overdue_count,omitempty" json:"taskOverdueCount"` TaskEndCount int `db:"task_end_count,omitempty" json:"taskEndCount"` BugCount int `db:"bug_count,omitempty" json:"bugCount"` BugWaitCount int `db:"bug_wait_count,omitempty" json:"bugWaitCount"` BugRunningCount int `db:"bug_running_count,omitempty" json:"bugRunningCount"` BugOverdueCount int `db:"bug_overdue_count,omitempty" json:"bugOverdueCount"` BugEndCount int `db:"bug_end_count,omitempty" json:"bugEndCount"` TesttaskCount int `db:"testtask_count,omitempty" json:"testtaskCount"` TesttaskWaitCount int `db:"testtask_wait_count,omitempty" json:"testtaskWaitCount"` TesttaskRunningCount int `db:"testtask_running_count,omitempty" json:"testtaskRunningCount"` TesttaskOverdueCount int `db:"testtask_overdue_count,omitempty" json:"testtaskOverdueCount"` TesttaskEndCount int `db:"testtask_end_count,omitempty" json:"testtaskEndCount"` Ext string `db:"ext,omitempty" json:"ext"` StatDate time.Time `db:"stat_date,omitempty" json:"statDate"` Status int64 `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*ProjectDayStatBo) TableName ¶
func (*ProjectDayStatBo) TableName() string
type ProjectDetailBo ¶
type ProjectDetailBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` Notice string `db:"notice,omitempty" json:"notice"` IsEnableWorkHours int `db:"is_enable_work_hours,omitempty" json:"isEnableWorkHours"` IsSyncOutCalendar int `db:"is_sync_out_calendar,omitempty" json:"isSyncOutCalendar"` SyncOutCalendarStatusArr []*int `db:"-" json:"syncOutCalendarStatusArr"` // 日历同步的配置 Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*ProjectDetailBo) TableName ¶
func (*ProjectDetailBo) TableName() string
type ProjectMemberChangeBo ¶
type ProjectMenuConfigBo ¶
type ProjectOutChatSettingBo ¶
type ProjectOutChatSettingBo struct { // 项目 id ProjectID int64 `json:"projectId"` // 是否是项目创建的群聊。1是;2机器人被拉入普通群的群聊 IsProjectChatNative int `json:"isProjectChatNative"` // 表的配置,一个项目下有多个表 Tables []ProjectOutChatSettingOneTableBo `json:"tables"` }
type ProjectOutChatSettingOneTableBo ¶
type ProjectOutChatSettingOneTableBo struct { // 表 id 整形 TableID int64 `json:"tableId"` // 表的 id TableIDStr string `json:"tableIdStr"` // 创建任务时,是否推送。1:推送 CreateIssueCase int `json:"createIssueCase"` // 任务被评论时是否推送。1:推送 CommentIssueCase int `json:"commentIssueCase"` // 任务的某些字段被修改时,是否推送。1:推送(字段请看 modifyColumnsOfSend) UpdateIssueCase int `json:"updateIssueCase"` // 如果开启“任务修改推送”时,这些字段被修改时,才推送消息 ModifyColumnsOfSend []*string `json:"modifyColumnsOfSend"` }
type ProjectRelationBo ¶
type ProjectRelationBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` ProjectObjectTypeId int64 `db:"project_object_type_id,omitempty" json:"projectObjectTypeId"` TeamId int64 `db:"team_id,omitempty" json:"teamId"` RelationId int64 `db:"relation_id,omitempty" json:"relationId"` RelationCode string `db:"relation_code,omitempty" json:"relationCode"` RelationType int `db:"relation_type,omitempty" json:"relationType"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type ProjectStatBo ¶
type ProjectTableBo ¶
type ProjectTrendsBo ¶
type ProjectTrendsBo struct { PushType consts.IssueNoticePushType //推送类型 OrgId int64 ProjectId int64 OperatorId int64 BeforeChangeMembers []int64 AfterChangeMembers []int64 BeforeOwner int64 AfterOwner int64 BeforeOwnerIds []int64 AfterOwnerIds []int64 BeforeChangeFollowers []int64 AfterChangeFollowers []int64 FieldId int64 SourceChannel string //来源通道 OperateObjProperty string NewValue string OldValue string Ext TrendExtensionBo OperateTime time.Time `json:"operateTime"` }
type ProjectTypeBo ¶
type ProjectTypeBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` LangCode string `db:"lang_code,omitempty" json:"langCode"` Name string `db:"name,omitempty" json:"name"` Sort int `db:"sort,omitempty" json:"sort"` Cover string `db:"cover,omitempty" json:"cover"` DefaultProcessId int64 `db:"default_process_id,omitempty" json:"defaultProcessId"` Category int64 `db:"category,omitempty" json:"category"` Mode int `db:"mode,omitempty" json:"mode"` IsReadonly int `db:"is_readonly,omitempty" json:"isReadonly"` Remark string `db:"remark,omitempty" json:"remark"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*ProjectTypeBo) TableName ¶
func (*ProjectTypeBo) TableName() string
type ProjectTypeCategoryBo ¶
type ProjectTypeCategoryBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` Name string `db:"name,omitempty" json:"name"` Icon string `db:"icon,omitempty" json:"icon"` ObjectType int `db:"object_type,omitempty" json:"objectType"` Sort int `db:"sort,omitempty" json:"sort"` Remark string `db:"remark,omitempty" json:"remark"` IsReadonly int `db:"is_readonly,omitempty" json:"isReadonly"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` ProjectTypeTotal int64 `json:"projectTypeTotal"` ProjectTypeList []ProjectTypeBo `json:"projectTypeList"` }
func (*ProjectTypeCategoryBo) TableName ¶
func (*ProjectTypeCategoryBo) TableName() string
type RegionsBo ¶
type RegionsBo struct { Id int64 `db:"id,omitempty" json:"id"` CityId int64 `db:"city_id,omitempty" json:"cityId"` Code string `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` Cname string `db:"cname,omitempty" json:"cname"` LowerName string `db:"lower_name,omitempty" json:"lowerName"` CodeFull string `db:"code_full,omitempty" json:"codeFull"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type RelateIssueTotal ¶
type RelatingChangeBo ¶
type RelatingDesc ¶
type RelatingIssue ¶
type RelationInfoTypeBo ¶
type RelationInfoTypeBo struct { UserId int64 `db:"user_id,omitempty" json:"userId"` RelationType int `db:"relation_type,omitempty" json:"relationType"` RelationId int64 `db:"relation_id,omitempty" json:"relationId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` OutOrgUserId string `db:"out_org_user_id,omitempty" json:"outOrgUserId"` OutUserId string `db:"out_user_id,omitempty" json:"outUserId"` Name string `db:"name,omitempty" json:"name"` Avatar string `db:"avatar,omitempty" json:"avatar"` }
type RelationIssue ¶
type RemindConfig ¶
type ResourceBo ¶
type ResourceBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` Type int `db:"type,omitempty" json:"type"` Bucket string `db:"bucket,omitempty" json:"bucket"` Host string `db:"host,omitempty" json:"host"` Path string `db:"path,omitempty" json:"path"` Name string `db:"name,omitempty" json:"name"` Suffix string `db:"suffix,omitempty" json:"suffix"` Md5 string `db:"md5,omitempty" json:"md5"` Size int64 `db:"size,omitempty" json:"size"` FileType int `db:"file_type,omitempty" json:"fileType"` SourceType int `db:"source_type,omitempty" json:"sourceType"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` CreatorName string `json:"creatorName"` }
func (*ResourceBo) TableName ¶
func (*ResourceBo) TableName() string
type ResourceInfoBo ¶
type ResourceRelationBo ¶
type ResourceTypeBo ¶
type ResourceTypeBo struct {
ID int64 `db:"id"`
}
type RoleBo ¶
type RoleBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` LangCode string `db:"lang_code,omitempty" json:"langCode"` Name string `db:"name,omitempty" json:"name"` Remark string `db:"remark,omitempty" json:"remark"` IsReadonly int `db:"is_readonly,omitempty" json:"isReadonly"` IsModifyPermission int `db:"is_modify_permission,omitempty" json:"isModifyPermission"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` RoleGroupId int64 `db:"role_group_id,omitempty" json:"roleGroupId"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type RoleDepartment ¶
type RoleDepartmentBo ¶
type RoleDepartmentBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` RoleId int64 `db:"role_id,omitempty" json:"roleId"` DepartmentId int64 `db:"department_id,omitempty" json:"departmentId"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*RoleDepartmentBo) TableName ¶
func (*RoleDepartmentBo) TableName() string
type RoleGroupBo ¶
type RoleGroupBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` LangCode string `db:"lang_code,omitempty" json:"langCode"` Name string `db:"name,omitempty" json:"name"` Remark string `db:"remark,omitempty" json:"remark"` Type int `db:"type,omitempty" json:"type"` IsReadonly int `db:"is_readonly,omitempty" json:"isReadonly"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` Status int `db:"status,omitempty" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*RoleGroupBo) TableName ¶
func (*RoleGroupBo) TableName() string
type RoleInitResp ¶
type RolePermissionOperationBo ¶
type RolePermissionOperationBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` RoleId int64 `db:"role_id,omitempty" json:"roleId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` PermissionId int64 `db:"permission_id,omitempty" json:"permissionId"` PermissionPath string `db:"permission_path,omitempty" json:"permissionPath"` OperationCodes string `db:"operation_codes,omitempty" json:"operationCodes"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*RolePermissionOperationBo) TableName ¶
func (*RolePermissionOperationBo) TableName() string
type RoleUserBo ¶
type RoleUserBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` RoleId int64 `db:"role_id,omitempty" json:"roleId"` UserId int64 `db:"user_id,omitempty" json:"userId"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*RoleUserBo) TableName ¶
func (*RoleUserBo) TableName() string
type RoleUserWithOrgId ¶
type RoleUserWithOrgId struct { OrgId int64 `db:"org_id,omitempty" json:"orgId"` RoleId int64 `db:"role_id,omitempty" json:"roleId"` RoleName string `db:"role_name,omitempty" json:"roleName"` UserId int64 `db:"user_id,omitempty" json:"userId"` RoleLangCode string `db:"lang_code,omitempty" json:"roleLangCode"` }
type SelectIssueIdsCondBo ¶
type SelectIssueIdsCondBo struct { //计划开始时间开始范围 BeforePlanEndTime *string `json:"beforePlanEndTime"` //计划开始时间结束范围 AfterPlanEndTime *string `json:"afterPlanEndTime"` //计划开始时间开始范围 BeforePlanStartTime *string `json:"beforePlanStartTime"` //计划开始时间结束范围 AfterPlanStartTime *string `json:"afterPlanStartTime"` }
type SimpleBasicNameBo ¶
type SimpleIssueInfoForMqtt ¶
type SimpleTagInfoBo ¶
type SimpleUserInfoBo ¶
type SimpleUserWithUserIdBo ¶
type SimpleWorkHourBo ¶
type SimpleWorkHourBo struct { // Id 自增id Id uint64 `db:"id,omitempty" json:"id"` // OrgId 组织id OrgId int64 `db:"org_id,omitempty" json:"orgId"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` // IssueId 关联的任务id IssueId int64 `db:"issue_id,omitempty" json:"issueId"` // Type 记录类型:1总预估工时,2实际工时记录,3子预估工时 Type int8 `db:"type,omitempty" json:"type"` // 工作者id WorkerId int64 `db:"worker_id,omitempty" json:"workerId"` // NeedTime 工时的时间,单位分钟 NeedTime uint32 `db:"need_time,omitempty" json:"needTime"` // StartTime 开始时间,时间戳 StartTime uint32 `db:"start_time,omitempty" json:"startTime"` // EndTime 工时记录的结束时间,时间戳 EndTime uint32 `db:"end_time,omitempty" json:"endTime"` // Desc 工时记录的内容,工作内容 Desc string `db:"desc,omitempty" json:"desc"` }
type StatExtBo ¶
type StatExtBo struct {
Issue StatIssueExtBo `json:"issue"`
}
type StatIssueExtBo ¶
type StatIssueExtBo struct {
Data map[interface{}]interface{} `json:"data"`
}
type StatesBo ¶
type StatesBo struct { Id int64 `db:"id,omitempty" json:"id"` CountryId int64 `db:"country_id,omitempty" json:"countryId"` Code string `db:"code,omitempty" json:"code"` Name string `db:"name,omitempty" json:"name"` Cname string `db:"cname,omitempty" json:"cname"` LowerName string `db:"lower_name,omitempty" json:"lowerName"` CodeFull string `db:"code_full,omitempty" json:"codeFull"` AreaId int `db:"area_id,omitempty" json:"areaId"` IsShow int `db:"is_show,omitempty" json:"isShow"` IsDefault int `db:"is_default,omitempty" json:"isDefault"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type TableColumn ¶
type TableColumn struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 其实就内部列的唯一id Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // 标题 AliasTitle string `protobuf:"bytes,3,opt,name=aliasTitle,proto3" json:"aliasTitle,omitempty"` // 别名 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 描述 IsSys bool `protobuf:"varint,5,opt,name=isSys,proto3" json:"isSys,omitempty"` IsOrg bool `protobuf:"varint,6,opt,name=isOrg,proto3" json:"isOrg,omitempty"` Writable bool `protobuf:"varint,7,opt,name=writable,proto3" json:"writable,omitempty"` Editable bool `protobuf:"varint,8,opt,name=editable,proto3" json:"editable,omitempty"` Unique bool `protobuf:"varint,9,opt,name=unique,proto3" json:"unique,omitempty"` // 该类型是否是唯一的列 UniquePreHandler string `protobuf:"bytes,10,opt,name=uniquePreHandler,proto3" json:"uniquePreHandler,omitempty"` // 唯一预处理函数,"urlDomainParse": url域名解析,保留一位 SensitiveStrategy string `protobuf:"bytes,11,opt,name=sensitiveStrategy,proto3" json:"sensitiveStrategy,omitempty"` // 脱敏策略 SensitiveFlag int32 `protobuf:"varint,12,opt,name=sensitiveFlag,proto3" json:"sensitiveFlag,omitempty"` // 是否脱敏 Field *TableColumnOption `protobuf:"bytes,13,opt,name=field,proto3" json:"field,omitempty"` }
type TableColumnOption ¶
type TableColumnOption struct { Type *tableV1.ColumnType `protobuf:"varint,1,opt,name=type,proto3,enum=table.v1.ColumnType" json:"type,omitempty"` // 列类型 CustomType string `protobuf:"bytes,2,opt,name=customType,proto3" json:"customType,omitempty"` // 自定义类型 DataType *tableV1.StorageColumnType `protobuf:"varint,3,opt,name=dataType,proto3,enum=table.v1.StorageColumnType" json:"dataType,omitempty"` // 数据类型 Props interface{} `protobuf:"bytes,4,opt,name=props,proto3" json:"props,omitempty"` // 列类型下特有的数据 }
type TagBo ¶
type TagBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` Name string `db:"name,omitempty" json:"name"` ProjectId int64 `db:"project_id,omitempty" json:"projectId"` NamePinyin string `db:"name_pinyin,omitempty" json:"namePinyin"` BgStyle string `db:"bg_style,omitempty" json:"bgStyle"` FontStyle string `db:"font_style,omitempty" json:"fontStyle"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type TaskStatBo ¶
type ThirdOrderPush ¶
type ThirdOrderPush struct { //traceId TraceId string `json:"traceId"` //推送类型 PushType consts.IssueNoticePushType `json:"pushType"` //推送类型 Msg OrderDingBo `json:"msg"` SourceChannel string `json:"sourceChannel"` }
type TransferDepartmentInfo ¶
type TransferDepartmentInfo struct {
MatchUserDepartmentInfos []interface{} // ppm_org_user_department需要插入的信息
}
type TransferMatchInfo ¶
type TransferOrgInfo ¶
type TransferUserInfo ¶
type TransferUserInfo struct { MatchUsersOutInfos []interface{} // 事实上是方的userOutInfo,这部分数据要插入 NoMatchUserIds []int64 }
TransferUserInfo 转换组织的时候,需要更新的用户相关信息集合
type TrendAuditInfo ¶
type TrendAuditInfo struct { Status int `json:"status"` Remark string `json:"remark"` Attachments []ResourceInfoBo `json:"attachments"` }
type TrendAutomationInfo ¶
type TrendAutomationInfo struct { WorkflowId int64 `json:"workflowId,omitempty"` WorkflowName string `json:"workflowName,omitempty"` ExecutionId int64 `json:"executionId,omitempty"` TriggerUser *SimpleUserInfoBo `json:"triggerUser,omitempty"` }
type TrendChangeListBo ¶
type TrendChangeListBo struct { Field string `json:"field"` // 字段名,字段id FieldType string `json:"fieldType"` // 字段类型 FieldName string `json:"fieldName"` // 字段名称 FieldNameValue string `json:"fieldNameValue"` AliasTitle string `json:"aliasTitle"` // 字段别名 OldValue string `json:"oldValue"` NewValue string `json:"newValue"` OldUserIdsOrDeptIdsValue []string `json:"oldUserIdsOrDeptIdsValue"` NewUserIdsOrDeptIdsValue []string `json:"newUserIdsOrDeptIdsValue"` // 描述变更类,如:新增、删除、修改等 // 主要针对自定义字段,比如多选、成员等。尚未用上 ChangeTypeDesc string `json:"changeTypeDesc"` // 由于历史原因,工时变更时的数据使用了特殊的方式存储在 TrendChangeListBo,因此它和其他所有的 changeList 使用方式有所不同。这里做个标记 IsForWorkHour bool `json:"isForWorkHour"` }
type TrendExtensionBo ¶
type TrendExtensionBo struct { IssueType string `json:"issueType"` ObjName string `json:"objName"` ChangeList []TrendChangeListBo `json:"changeList,omitempty"` MemberInfo []SimpleUserInfoBo `json:"memberInfo,omitempty"` RelationIssue *RelationIssue `json:"relationIssue,omitempty"` CommonChange []string `json:"commonChange,omitempty"` FolderId int64 `json:"folderId"` MentionedUserIds []int64 `json:"mentionedUserIds,omitempty"` //提及的用户列表 CommentBo *CommentBo `json:"commentBo,omitempty"` ResourceInfo []ResourceInfoBo `json:"resourceInfo,omitempty"` Remark string `json:"remark"` FieldIds []int64 `json:"fieldIds,omitempty"` ProjectObjectTypeId int64 `json:"projectObjectTypeId"` AuditInfo *TrendAuditInfo `json:"auditInfo,omitempty"` AutomationInfo *TrendAutomationInfo `json:"automationInfo,omitempty"` // 新增自定义字段 AddedFormFields []string `json:"addedFormFields,omitempty"` // 删除自定义字段 DeletedFormFields []string `json:"deletedFormFields,omitempty"` // 修改的自定义字段 UpdatedFormFields []string `json:"updatedFormFields,omitempty"` }
type TrendsBo ¶
type TrendsBo struct { Id int64 `json:"id"` OrgId int64 `json:"orgId"` Uuid string `db:"uuid,omitempty" json:"uuid"` Module1 string `json:"module1"` Module2Id int64 `json:"module2Id"` Module2 string `json:"module2"` Module3Id int64 `json:"module3Id"` Module3 string `json:"module3"` OperCode string `json:"operCode"` OperObjId int64 `json:"operObjId"` OperObjType string `json:"operObjType"` OperObjProperty string `json:"operObjProperty"` RelationObjId int64 `json:"relationObjId"` RelationObjType string `json:"relationObjType"` RelationType string `json:"relationType"` NewValue *string `json:"newValue"` OldValue *string `json:"oldValue"` Ext string `json:"ext"` Creator int64 `json:"creator"` CreateTime types.Time `json:"createTime"` }
type TrendsPageBo ¶
type TrendsPageBo struct { Total int64 `json:"total"` Page int64 `json:"page"` Size int64 `json:"size"` List *[]TrendsBo `json:"list"` }
* 动态分页对象
type TrendsQueryCondBo ¶
type TrendsQueryCondBo struct { // 上次分页的最后一条动态id LastTrendID *int64 `json:"lastTrendId"` // 组织id OrgId int64 `json:"orgId"` // 对象id ObjId *int64 `json:"objId"` // 对象类型 ObjType *string `json:"objType"` // 操作人id OperId *int64 `json:"operId"` // 开始时间 StartTime *types.Time `json:"startTime"` // 结束时间 EndTime *types.Time `json:"endTime"` // 分类(1动态2评论) Type *int `json:"type"` // 页码 Page *int64 `json:"page"` //排序(1时间正序2时间倒序) OrderType *int `json:"orderType"` // 分页数量 Size *int64 `json:"size"` CurrentUserId int64 `json:"currentUserId"` }
* 查询动态条件对象
type UpdateFolderBo ¶
type UpdateFolderBo struct { // 文件夹id FolderID int64 `json:"folderId"` // 项目id ProjectID int64 `json:"projectId"` // 文件夹名 Name *string `json:"name"` // 父级文件夹id ParentID *int64 `json:"parentId"` // 文件夹类型,0其他,1文档,2图片,3视频,4音频 FileType *int64 `json:"fileType"` UserId int64 OrgId int64 // 变动的字段列表 UpdateFields []string `json:"updateFields"` }
type UpdateOneIssueWorkHoursBo ¶
type UpdateOneIssueWorkHoursBo struct { Id uint64 `json:"id"` OrgId int64 `json:"orgId"` ProjectId int64 `json:"projectId"` IssueId int64 `json:"issueId"` WorkerId int64 `json:"workerId"` Type int8 `json:"type"` Desc string `json:"desc"` StartTime int64 `json:"startTime"` EndTime int64 `json:"endTime"` NeedTime uint32 `json:"needTime"` RemainTimeCalType int8 `json:"remainTimeCalType"` RemainTime uint32 `json:"remainTime"` IsDelete int8 `json:"isDelete"` }
type UpdateOrganizationBo ¶
type UpdateOrganizationBo struct { Bo OrganizationBo OrganizationUpdateCond mysql.Upd }
type UpdateProjectBo ¶
type UpdateProjectBo struct { ID int64 `json:"id"` Code *string `json:"code"` Name *string `json:"name"` PreCode *string `json:"preCode"` Owner *int64 `json:"owner"` PriorityID *int64 `json:"priorityId"` PlanStartTime *types.Time `json:"planStartTime"` PlanEndTime *types.Time `json:"planEndTime"` PublicStatus *int `json:"publicStatus"` ResourceID *int64 `json:"resourceId"` IsFiling *int `json:"isFiling"` Remark *string `json:"remark"` Status *int64 `json:"status"` ResourcePath *string `json:"resourcePath"` ResourceType *int `json:"resourceType"` MemberIds []int64 `json:"memberIds"` // 用户成员部门id MemberForDepartmentID []int64 `json:"memberForDepartmentId"` FollowerIds []int64 `json:"followerIds"` OwnerIds []int64 `json:"ownerIds"` UpdateFields []string `json:"updateFields"` }
type UpdateResourceFolderBo ¶
type UpdateResourceFolderBo struct { UserId int64 `json:"userId"` OrgId int64 `json:"orgId"` // 当前文件夹id CurrentFolderId int64 `json:"currentFolderId"` // 目标文件夹id TargetFolderID int64 `json:"targetFolderId"` // 文件id列表 ResourceIds []int64 `json:"resourceIds"` // 项目id ProjectId int64 `json:"projectId"` }
type UpdateResourceInfoBo ¶
type UpdateResourceInfoBo struct { UserId int64 `json:"userId"` OrgId int64 `json:"orgId"` // 文件id ResourceId int64 `json:"resourceId"` // 应用id AppId int64 `json:"appId"` // 项目id ProjectId int64 `json:"projectId"` // issueId IssueId int64 `json:"issueId"` // 文件大小 FileSize int64 `json:"fileSize"` // 文件名 FileName *string `json:"fileName"` // 文件后缀 FileSuffix *string `json:"fileSuffix"` // 修改项 UpdateFields []string `json:"updateFields"` }
type UpdateRoleBo ¶
type UpdateRoleBo struct {
Name *string `json:"name"`
}
type UserAdminFlagBo ¶
type UserConfigBo ¶
type UserConfigBo struct { ID int64 `json:"id"` UserId int64 `json:"userId"` DailyReportMessageStatus int `json:"dailyReportMessageStatus"` // 个人日报 OwnerRangeStatus int `json:"ownerRangeStatus"` // 我负责的 ParticipantRangeStatus int `json:"participantRangeStatus"` // 我关注的 // 该配置,前端请求接口的 key 有误导致,语义化有问题。 AttentionRangeStatus int `json:"attentionRangeStatus"` // [页面无此配置] CreateRangeStatus int `json:"createRangeStatus"` // [页面无此配置] 猜测是:我创建的 RemindMessageStatus int `json:"remindMessageStatus"` // 任务提醒,被添加到记录 CommentAtMessageStatus int `json:"commentAtMessageStatus"` // “评论和 at 我的” ModifyMessageStatus int `json:"modifyMessageStatus"` // “任务更新动态” RelationMessageStatus int `json:"relationMessageStatus"` // 关联内容动态 CollaborateMessageStatus int `json:"collaborateMessageStatus"` // 我协作的 1表示开启我协作的任务相关推送 // New for 20220531 DailyProjectReportMessageStatus int `json:"dailyProjectReportMessageStatus"` // 项目日报 DefaultProjectId int64 `json:"defaultProjectId"` DefaultProjectObjectTypeId int64 `db:"default_project_object_type_id,omitempty" json:"defaultProjectObjectTypeId"` PcNoticeOpenStatus int `db:"pc_notice_open_status,omitempty" json:"pcNoticeOpenStatus"` PcIssueRemindMessageStatus int `db:"pc_issue_remind_message_status,omitempty" json:"pcIssueRemindMessageStatus"` PcOrgMessageStatus int `db:"pc_org_message_status,omitempty" json:"pcOrgMessageStatus"` PcProjectMessageStatus int `db:"pc_project_message_status,omitempty" json:"pcProjectMessageStatus"` PcCommentAtMessageStatus int `db:"pc_comment_at_message_status,omitempty" json:"pcCommentAtMessageStatus"` UserViewLocationConfig string `db:"user_view_location_config,omitempty" json:"userViewLocationConfig"` Ext string `db:"ext,omitempty" json:"ext"` RemindExpiring int `json:"remindExpiring"` // 即将逾期提醒 }
type UserConfigExt ¶
type UserConfigExt struct { // 用户是否浏览过“新手指引” VisitedNewUserGuide bool `json:"visitedNewUserGuide"` // 版本信息是否展示 Version *VersionConfig `json:"version"` // 2022-11-11活动信息标识 Activity20221111 int `json:"activity20221111"` // 2023-02-07 个人中心 不再提醒弹窗 RemindPopUp int `json:"remindPopUp"` }
type UserDepartmentBo ¶
type UserDepartmentBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` UserId int64 `db:"user_id,omitempty" json:"userId"` DepartmentId int64 `db:"department_id,omitempty" json:"departmentId"` IsLeader int `db:"is_leader,omitempty" json:"isLeader"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
func (*UserDepartmentBo) TableName ¶
func (*UserDepartmentBo) TableName() string
type UserDepartmentInfo ¶
type UserEmpIdInfo ¶
type UserIDInfoBo ¶
type UserIDInfoBo struct { //用户id Id int64 `json:"id"` //用户id UserID int64 `json:"userId"` //姓名 Name string `json:"name"` //姓名拼音 NamePy string `json:"namePy"` //头像 Avatar string `json:"avatar"` //外部用户id EmplID string `json:"emplId"` //唯一id(弃用,统一emplId,也就是外部用户id) UnionID string `json:"unionId"` // 是否已被删除,为true则代表被组织移除 IsDeleted bool `json:"isDeleted"` // 是否已被禁用, 为true则代表被组织禁用 IsDisabled bool `json:"isDisabled"` }
type UserIDInfoExtraForIssueAudit ¶
type UserIDInfoExtraForIssueAudit struct { //用户id Id int64 `json:"id"` //用户id UserID int64 `json:"userId"` //姓名 Name string `json:"name"` //姓名拼音 NamePy string `json:"namePy"` //头像 Avatar string `json:"avatar"` //外部用户id EmplID string `json:"emplId"` //唯一id(弃用,统一emplId,也就是外部用户id) UnionID string `json:"unionId"` // 是否已被删除,为true则代表被组织移除 IsDeleted bool `json:"isDeleted"` // 是否已被禁用, 为true则代表被组织禁用 IsDisabled bool `json:"isDisabled"` // 状态(1未查看2已查看未审核3审核通过4驳回) AuditStatus int `json:"auditStatus"` }
type UserInfoBo ¶
type UserInfoBo struct { ID int64 `json:"id"` EmplID *string `json:"emplId"` OrgID int64 `json:"orgId"` OrgName string `json:"orgName"` Name string `json:"name"` NamePinyin string `db:"name_pinyin,omitempty" json:"namePinyin"` ThirdName string `json:"thirdName"` LoginName string `json:"loginName"` LoginNameEditCount int `json:"loginNameEditCount"` Email string `json:"email"` Mobile string `json:"mobile"` Birthday types.Time `json:"birthday"` Sex int `json:"sex"` Rimanente int `json:"rimanente"` Level int `json:"level"` LevelName string `json:"levelName"` Password string `db:"password,omitempty" json:"password"` PasswordSalt string `db:"password_salt,omitempty" json:"passwordSalt"` Avatar string `json:"avatar"` SourceChannel string `json:"sourceChannel"` Language string `json:"language"` Motto string `json:"motto"` LastLoginIP string `json:"lastLoginIp"` LastLoginTime types.Time `json:"lastLoginTime"` LoginFailCount int `json:"loginFailCount"` RemindBindPhone int `json:"remindBindPhone"` CreateTime types.Time `json:"createTime"` UpdateTime types.Time `json:"updateTime"` GlobalUserId int64 UserStatus int // 是否启用 }
type UserNoticeInfoBo ¶
type UserOrDeptInfoItem ¶
type UserOrganizationBo ¶
type UserOrganizationBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` UserId int64 `db:"user_id,omitempty" json:"userId"` CheckStatus int `db:"check_status,omitempty" json:"checkStatus"` UseStatus int `db:"use_status,omitempty" json:"useStatus"` Status int `db:"status,omitempty" json:"status"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete,omitempty" json:"isDelete"` }
type UserOutInfoBo ¶
type UserOutInfoBo struct { Id int64 `db:"id,omitempty" json:"id"` OrgId int64 `db:"org_id,omitempty" json:"orgId"` UserId int64 `db:"user_id,omitempty" json:"userId"` SourceChannel string `db:"source_channel,omitempty" json:"sourceChannel"` OutOrgUserId string `db:"out_org_user_id,omitempty" json:"outOrgUserId"` OutUserId string `db:"out_user_id,omitempty" json:"outUserId"` Name string `db:"name,omitempty" json:"name"` Avatar string `db:"avatar,omitempty" json:"avatar"` IsActive int `db:"is_active,omitempty" json:"isActive"` JobNumber string `db:"job_number,omitempty" json:"jobNumber"` Status int `db:"status" json:"status"` Creator int64 `db:"creator,omitempty" json:"creator"` CreateTime time.Time `db:"create_time,omitempty" json:"createTime"` Updator int64 `db:"updator,omitempty" json:"updator"` UpdateTime time.Time `db:"update_time,omitempty" json:"updateTime"` Version int `db:"version,omitempty" json:"version"` IsDelete int `db:"is_delete" json:"isDelete"` }
type UserSMSRegisterInfo ¶
type UserSMSRegisterInfo struct { OrgId int64 `json:"orgId"` Email string `json:"email"` PhoneNumber string `json:"phoneNumber"` SourceChannel string `json:"sourceChannel"` SourcePlatform string `json:"sourcePlatform"` Name string `json:"name"` InviteCode string `json:"inviteCode"` // 手机归属代码。如中国为 `+86`。如果有,则使用 MobileRegion string `json:"mobileRegion"` Password string `json:"password"` Status int `json:"status"` AccountName string `json:"accountName"` }
type UserViewLocation ¶
type UserViewLocationConfig ¶
type UserViewLocationConfig struct {
Location UserViewLocation `json:"location"`
}
type VersionConfig ¶
type VersionConfig struct {
VersionInfoVisible bool `json:"versionInfoVisible"`
}
type WorkHourForSomeoneBo ¶
type WorkHourForSomeoneBo struct { TotalPredict []*SimpleWorkHourBo `json:"totalPredict"` SubPredict []*SimpleWorkHourBo `json:"subPredict"` Actual []*SimpleWorkHourBo `json:"actual"` }
存储某个人的工时记录。
Source Files ¶
- app_info_bo.go
- area_bo.go
- attachment.go
- auth.go
- business.go
- cache.go
- cities_bo.go
- collaborator_bo.go
- comment_bo.go
- contact_bo.go
- continents_bo.go
- countries_bo.go
- cron_msg_bo.go
- custom_field.go
- department_bo.go
- dingtalk.go
- document.go
- export.go
- feishu.go
- folder.go
- folder_resource.go
- global_user.go
- id.go
- industry_bo.go
- invite.go
- issue.go
- issue_detail.go
- issue_notice.go
- issue_property_bo.go
- issue_remind.go
- issue_remind_bo.go
- issue_source_bo.go
- issue_stat.go
- issue_tag.go
- issue_trends.go
- issue_work_hours_bo.go
- iteration_bo.go
- iteration_stat_bo.go
- iteration_status_relation_bo.go
- lab.go
- lc_app_view_bo.go
- message_bo.go
- message_queue.go
- mobile_prefix_bo.go
- mqtt.go
- notice_bo.go
- operation_bo.go
- ord_price_plan_fs.go
- order_ding_bo.go
- order_fs_bo.go
- org.go
- org_config.go
- org_function_config_bo.go
- org_init_bo.go
- org_out_bo.go
- org_secret_bo.go
- org_trends.go
- org_user_organization_bo.go
- oss.go
- page.go
- permission_bo.go
- permission_operation_bo.go
- platform_sdk_bo.go
- ppm_prs_cycle_bin_bo.go
- priority.go
- project.go
- project_day_stat_bo.go
- project_detail_bo.go
- project_relation_bo.go
- project_trends.go
- project_type.go
- project_type_category_bo.go
- regions_bo.go
- resource.go
- resource_bo.go
- role_bo.go
- role_department_bo.go
- role_group_bo.go
- role_permission_operation_bo.go
- role_user_bo.go
- share_bo.go
- states_bo.go
- tag_bo.go
- third_order.go
- todo.go
- trends.go
- user.go
- user_config.go
- user_department_bo.go
- user_org.go
Click to show internal directories.
Click to hide internal directories.