| 12345678910111213141516171819202122 |
- package common
- // 返回错误数据的信息,若此字段为空,则说明无错误数据
- type SyncOrgErrorResp struct {
- // 【第三方组织id】第三方组织id
- ThirdOrgId string `json:"thirdOrgId,omitempty"`
- // 【组织名称】组织名称
- Name string `json:"name,omitempty"`
- // 【上级组织id】上级组织id,对应上级的第三方组织ID。该字段为空,则上级组织为顶级组织
- ParentOrgId string `json:"parentOrgId,omitempty"`
- // 【组织单位编码】组织单位编码
- OrgCode string `json:"orgCode,omitempty"`
- // 【是否有效】是否有效,删除/正常; true:正常;false:删除
- Enable *bool `json:"enable,omitempty"`
- // 【是否为法人单位】是否为法人单位
- LegalEntity *bool `json:"legalEntity,omitempty"`
- // 【错误信息】错误信息
- ErrMsg string `json:"errMsg,omitempty"`
- // 【组织的排序】组织的排序,同层级组织按该字段升序排列,数值越小的组织显示位置越靠前
- OrgOrder *int64 `json:"orgOrder,omitempty"`
- }
|