organization.pb.go 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: organization.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type InitOrganizationDbRequest struct {
  20. OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
  21. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  22. XXX_unrecognized []byte `json:"-"`
  23. XXX_sizecache int32 `json:"-"`
  24. }
  25. func (m *InitOrganizationDbRequest) Reset() { *m = InitOrganizationDbRequest{} }
  26. func (m *InitOrganizationDbRequest) String() string { return proto.CompactTextString(m) }
  27. func (*InitOrganizationDbRequest) ProtoMessage() {}
  28. func (*InitOrganizationDbRequest) Descriptor() ([]byte, []int) {
  29. return fileDescriptor_8d10c68ef159b9ed, []int{0}
  30. }
  31. func (m *InitOrganizationDbRequest) XXX_Unmarshal(b []byte) error {
  32. return xxx_messageInfo_InitOrganizationDbRequest.Unmarshal(m, b)
  33. }
  34. func (m *InitOrganizationDbRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  35. return xxx_messageInfo_InitOrganizationDbRequest.Marshal(b, m, deterministic)
  36. }
  37. func (m *InitOrganizationDbRequest) XXX_Merge(src proto.Message) {
  38. xxx_messageInfo_InitOrganizationDbRequest.Merge(m, src)
  39. }
  40. func (m *InitOrganizationDbRequest) XXX_Size() int {
  41. return xxx_messageInfo_InitOrganizationDbRequest.Size(m)
  42. }
  43. func (m *InitOrganizationDbRequest) XXX_DiscardUnknown() {
  44. xxx_messageInfo_InitOrganizationDbRequest.DiscardUnknown(m)
  45. }
  46. var xxx_messageInfo_InitOrganizationDbRequest proto.InternalMessageInfo
  47. func (m *InitOrganizationDbRequest) GetOrganizationCode() string {
  48. if m != nil {
  49. return m.OrganizationCode
  50. }
  51. return ""
  52. }
  53. type InitOrganizationDbReply struct {
  54. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  55. XXX_unrecognized []byte `json:"-"`
  56. XXX_sizecache int32 `json:"-"`
  57. }
  58. func (m *InitOrganizationDbReply) Reset() { *m = InitOrganizationDbReply{} }
  59. func (m *InitOrganizationDbReply) String() string { return proto.CompactTextString(m) }
  60. func (*InitOrganizationDbReply) ProtoMessage() {}
  61. func (*InitOrganizationDbReply) Descriptor() ([]byte, []int) {
  62. return fileDescriptor_8d10c68ef159b9ed, []int{1}
  63. }
  64. func (m *InitOrganizationDbReply) XXX_Unmarshal(b []byte) error {
  65. return xxx_messageInfo_InitOrganizationDbReply.Unmarshal(m, b)
  66. }
  67. func (m *InitOrganizationDbReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  68. return xxx_messageInfo_InitOrganizationDbReply.Marshal(b, m, deterministic)
  69. }
  70. func (m *InitOrganizationDbReply) XXX_Merge(src proto.Message) {
  71. xxx_messageInfo_InitOrganizationDbReply.Merge(m, src)
  72. }
  73. func (m *InitOrganizationDbReply) XXX_Size() int {
  74. return xxx_messageInfo_InitOrganizationDbReply.Size(m)
  75. }
  76. func (m *InitOrganizationDbReply) XXX_DiscardUnknown() {
  77. xxx_messageInfo_InitOrganizationDbReply.DiscardUnknown(m)
  78. }
  79. var xxx_messageInfo_InitOrganizationDbReply proto.InternalMessageInfo
  80. type RbacNode struct {
  81. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  82. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  83. Router string `protobuf:"bytes,3,opt,name=router,proto3" json:"router"`
  84. Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method"`
  85. Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource"`
  86. Object string `protobuf:"bytes,6,opt,name=object,proto3" json:"object"`
  87. Pid int64 `protobuf:"varint,7,opt,name=pid,proto3" json:"pid"`
  88. IsSuper bool `protobuf:"varint,8,opt,name=is_super,json=isSuper,proto3" json:"is_super"`
  89. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  90. XXX_unrecognized []byte `json:"-"`
  91. XXX_sizecache int32 `json:"-"`
  92. }
  93. func (m *RbacNode) Reset() { *m = RbacNode{} }
  94. func (m *RbacNode) String() string { return proto.CompactTextString(m) }
  95. func (*RbacNode) ProtoMessage() {}
  96. func (*RbacNode) Descriptor() ([]byte, []int) {
  97. return fileDescriptor_8d10c68ef159b9ed, []int{2}
  98. }
  99. func (m *RbacNode) XXX_Unmarshal(b []byte) error {
  100. return xxx_messageInfo_RbacNode.Unmarshal(m, b)
  101. }
  102. func (m *RbacNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  103. return xxx_messageInfo_RbacNode.Marshal(b, m, deterministic)
  104. }
  105. func (m *RbacNode) XXX_Merge(src proto.Message) {
  106. xxx_messageInfo_RbacNode.Merge(m, src)
  107. }
  108. func (m *RbacNode) XXX_Size() int {
  109. return xxx_messageInfo_RbacNode.Size(m)
  110. }
  111. func (m *RbacNode) XXX_DiscardUnknown() {
  112. xxx_messageInfo_RbacNode.DiscardUnknown(m)
  113. }
  114. var xxx_messageInfo_RbacNode proto.InternalMessageInfo
  115. func (m *RbacNode) GetId() int64 {
  116. if m != nil {
  117. return m.Id
  118. }
  119. return 0
  120. }
  121. func (m *RbacNode) GetName() string {
  122. if m != nil {
  123. return m.Name
  124. }
  125. return ""
  126. }
  127. func (m *RbacNode) GetRouter() string {
  128. if m != nil {
  129. return m.Router
  130. }
  131. return ""
  132. }
  133. func (m *RbacNode) GetMethod() string {
  134. if m != nil {
  135. return m.Method
  136. }
  137. return ""
  138. }
  139. func (m *RbacNode) GetResource() string {
  140. if m != nil {
  141. return m.Resource
  142. }
  143. return ""
  144. }
  145. func (m *RbacNode) GetObject() string {
  146. if m != nil {
  147. return m.Object
  148. }
  149. return ""
  150. }
  151. func (m *RbacNode) GetPid() int64 {
  152. if m != nil {
  153. return m.Pid
  154. }
  155. return 0
  156. }
  157. func (m *RbacNode) GetIsSuper() bool {
  158. if m != nil {
  159. return m.IsSuper
  160. }
  161. return false
  162. }
  163. type CreateManagementUserRequest struct {
  164. OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
  165. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username"`
  166. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password"`
  167. Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"`
  168. Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email"`
  169. RbacNodeList []*RbacNode `protobuf:"bytes,6,rep,name=rbac_node_list,json=rbacNodeList,proto3" json:"rbac_node_list"`
  170. IsSupperUser bool `protobuf:"varint,7,opt,name=is_supper_user,json=isSupperUser,proto3" json:"is_supper_user"`
  171. GroupId int64 `protobuf:"varint,8,opt,name=group_id,json=groupId,proto3" json:"group_id"`
  172. Zones string `protobuf:"bytes,9,opt,name=zones,proto3" json:"zones"`
  173. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  174. XXX_unrecognized []byte `json:"-"`
  175. XXX_sizecache int32 `json:"-"`
  176. }
  177. func (m *CreateManagementUserRequest) Reset() { *m = CreateManagementUserRequest{} }
  178. func (m *CreateManagementUserRequest) String() string { return proto.CompactTextString(m) }
  179. func (*CreateManagementUserRequest) ProtoMessage() {}
  180. func (*CreateManagementUserRequest) Descriptor() ([]byte, []int) {
  181. return fileDescriptor_8d10c68ef159b9ed, []int{3}
  182. }
  183. func (m *CreateManagementUserRequest) XXX_Unmarshal(b []byte) error {
  184. return xxx_messageInfo_CreateManagementUserRequest.Unmarshal(m, b)
  185. }
  186. func (m *CreateManagementUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  187. return xxx_messageInfo_CreateManagementUserRequest.Marshal(b, m, deterministic)
  188. }
  189. func (m *CreateManagementUserRequest) XXX_Merge(src proto.Message) {
  190. xxx_messageInfo_CreateManagementUserRequest.Merge(m, src)
  191. }
  192. func (m *CreateManagementUserRequest) XXX_Size() int {
  193. return xxx_messageInfo_CreateManagementUserRequest.Size(m)
  194. }
  195. func (m *CreateManagementUserRequest) XXX_DiscardUnknown() {
  196. xxx_messageInfo_CreateManagementUserRequest.DiscardUnknown(m)
  197. }
  198. var xxx_messageInfo_CreateManagementUserRequest proto.InternalMessageInfo
  199. func (m *CreateManagementUserRequest) GetOrganizationCode() string {
  200. if m != nil {
  201. return m.OrganizationCode
  202. }
  203. return ""
  204. }
  205. func (m *CreateManagementUserRequest) GetUsername() string {
  206. if m != nil {
  207. return m.Username
  208. }
  209. return ""
  210. }
  211. func (m *CreateManagementUserRequest) GetPassword() string {
  212. if m != nil {
  213. return m.Password
  214. }
  215. return ""
  216. }
  217. func (m *CreateManagementUserRequest) GetPhone() string {
  218. if m != nil {
  219. return m.Phone
  220. }
  221. return ""
  222. }
  223. func (m *CreateManagementUserRequest) GetEmail() string {
  224. if m != nil {
  225. return m.Email
  226. }
  227. return ""
  228. }
  229. func (m *CreateManagementUserRequest) GetRbacNodeList() []*RbacNode {
  230. if m != nil {
  231. return m.RbacNodeList
  232. }
  233. return nil
  234. }
  235. func (m *CreateManagementUserRequest) GetIsSupperUser() bool {
  236. if m != nil {
  237. return m.IsSupperUser
  238. }
  239. return false
  240. }
  241. func (m *CreateManagementUserRequest) GetGroupId() int64 {
  242. if m != nil {
  243. return m.GroupId
  244. }
  245. return 0
  246. }
  247. func (m *CreateManagementUserRequest) GetZones() string {
  248. if m != nil {
  249. return m.Zones
  250. }
  251. return ""
  252. }
  253. type CreateManagementUserReply struct {
  254. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  255. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  256. XXX_unrecognized []byte `json:"-"`
  257. XXX_sizecache int32 `json:"-"`
  258. }
  259. func (m *CreateManagementUserReply) Reset() { *m = CreateManagementUserReply{} }
  260. func (m *CreateManagementUserReply) String() string { return proto.CompactTextString(m) }
  261. func (*CreateManagementUserReply) ProtoMessage() {}
  262. func (*CreateManagementUserReply) Descriptor() ([]byte, []int) {
  263. return fileDescriptor_8d10c68ef159b9ed, []int{4}
  264. }
  265. func (m *CreateManagementUserReply) XXX_Unmarshal(b []byte) error {
  266. return xxx_messageInfo_CreateManagementUserReply.Unmarshal(m, b)
  267. }
  268. func (m *CreateManagementUserReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  269. return xxx_messageInfo_CreateManagementUserReply.Marshal(b, m, deterministic)
  270. }
  271. func (m *CreateManagementUserReply) XXX_Merge(src proto.Message) {
  272. xxx_messageInfo_CreateManagementUserReply.Merge(m, src)
  273. }
  274. func (m *CreateManagementUserReply) XXX_Size() int {
  275. return xxx_messageInfo_CreateManagementUserReply.Size(m)
  276. }
  277. func (m *CreateManagementUserReply) XXX_DiscardUnknown() {
  278. xxx_messageInfo_CreateManagementUserReply.DiscardUnknown(m)
  279. }
  280. var xxx_messageInfo_CreateManagementUserReply proto.InternalMessageInfo
  281. func (m *CreateManagementUserReply) GetUid() int64 {
  282. if m != nil {
  283. return m.Uid
  284. }
  285. return 0
  286. }
  287. type ManagementSuperUserItem struct {
  288. OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
  289. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username"`
  290. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
  291. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email"`
  292. Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id"`
  293. CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  294. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  295. XXX_unrecognized []byte `json:"-"`
  296. XXX_sizecache int32 `json:"-"`
  297. }
  298. func (m *ManagementSuperUserItem) Reset() { *m = ManagementSuperUserItem{} }
  299. func (m *ManagementSuperUserItem) String() string { return proto.CompactTextString(m) }
  300. func (*ManagementSuperUserItem) ProtoMessage() {}
  301. func (*ManagementSuperUserItem) Descriptor() ([]byte, []int) {
  302. return fileDescriptor_8d10c68ef159b9ed, []int{5}
  303. }
  304. func (m *ManagementSuperUserItem) XXX_Unmarshal(b []byte) error {
  305. return xxx_messageInfo_ManagementSuperUserItem.Unmarshal(m, b)
  306. }
  307. func (m *ManagementSuperUserItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  308. return xxx_messageInfo_ManagementSuperUserItem.Marshal(b, m, deterministic)
  309. }
  310. func (m *ManagementSuperUserItem) XXX_Merge(src proto.Message) {
  311. xxx_messageInfo_ManagementSuperUserItem.Merge(m, src)
  312. }
  313. func (m *ManagementSuperUserItem) XXX_Size() int {
  314. return xxx_messageInfo_ManagementSuperUserItem.Size(m)
  315. }
  316. func (m *ManagementSuperUserItem) XXX_DiscardUnknown() {
  317. xxx_messageInfo_ManagementSuperUserItem.DiscardUnknown(m)
  318. }
  319. var xxx_messageInfo_ManagementSuperUserItem proto.InternalMessageInfo
  320. func (m *ManagementSuperUserItem) GetOrganizationCode() string {
  321. if m != nil {
  322. return m.OrganizationCode
  323. }
  324. return ""
  325. }
  326. func (m *ManagementSuperUserItem) GetUsername() string {
  327. if m != nil {
  328. return m.Username
  329. }
  330. return ""
  331. }
  332. func (m *ManagementSuperUserItem) GetPhone() string {
  333. if m != nil {
  334. return m.Phone
  335. }
  336. return ""
  337. }
  338. func (m *ManagementSuperUserItem) GetEmail() string {
  339. if m != nil {
  340. return m.Email
  341. }
  342. return ""
  343. }
  344. func (m *ManagementSuperUserItem) GetId() int64 {
  345. if m != nil {
  346. return m.Id
  347. }
  348. return 0
  349. }
  350. func (m *ManagementSuperUserItem) GetCreatedAt() string {
  351. if m != nil {
  352. return m.CreatedAt
  353. }
  354. return ""
  355. }
  356. // 供系统端调用
  357. type ManagementSuperUserListRequest struct {
  358. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  359. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  360. OrganizationCode string `protobuf:"bytes,3,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
  361. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  362. XXX_unrecognized []byte `json:"-"`
  363. XXX_sizecache int32 `json:"-"`
  364. }
  365. func (m *ManagementSuperUserListRequest) Reset() { *m = ManagementSuperUserListRequest{} }
  366. func (m *ManagementSuperUserListRequest) String() string { return proto.CompactTextString(m) }
  367. func (*ManagementSuperUserListRequest) ProtoMessage() {}
  368. func (*ManagementSuperUserListRequest) Descriptor() ([]byte, []int) {
  369. return fileDescriptor_8d10c68ef159b9ed, []int{6}
  370. }
  371. func (m *ManagementSuperUserListRequest) XXX_Unmarshal(b []byte) error {
  372. return xxx_messageInfo_ManagementSuperUserListRequest.Unmarshal(m, b)
  373. }
  374. func (m *ManagementSuperUserListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  375. return xxx_messageInfo_ManagementSuperUserListRequest.Marshal(b, m, deterministic)
  376. }
  377. func (m *ManagementSuperUserListRequest) XXX_Merge(src proto.Message) {
  378. xxx_messageInfo_ManagementSuperUserListRequest.Merge(m, src)
  379. }
  380. func (m *ManagementSuperUserListRequest) XXX_Size() int {
  381. return xxx_messageInfo_ManagementSuperUserListRequest.Size(m)
  382. }
  383. func (m *ManagementSuperUserListRequest) XXX_DiscardUnknown() {
  384. xxx_messageInfo_ManagementSuperUserListRequest.DiscardUnknown(m)
  385. }
  386. var xxx_messageInfo_ManagementSuperUserListRequest proto.InternalMessageInfo
  387. func (m *ManagementSuperUserListRequest) GetPage() int64 {
  388. if m != nil {
  389. return m.Page
  390. }
  391. return 0
  392. }
  393. func (m *ManagementSuperUserListRequest) GetPageSize() int64 {
  394. if m != nil {
  395. return m.PageSize
  396. }
  397. return 0
  398. }
  399. func (m *ManagementSuperUserListRequest) GetOrganizationCode() string {
  400. if m != nil {
  401. return m.OrganizationCode
  402. }
  403. return ""
  404. }
  405. type ManagementSuperUserListReply struct {
  406. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  407. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  408. List []*ManagementSuperUserItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  409. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  410. XXX_unrecognized []byte `json:"-"`
  411. XXX_sizecache int32 `json:"-"`
  412. }
  413. func (m *ManagementSuperUserListReply) Reset() { *m = ManagementSuperUserListReply{} }
  414. func (m *ManagementSuperUserListReply) String() string { return proto.CompactTextString(m) }
  415. func (*ManagementSuperUserListReply) ProtoMessage() {}
  416. func (*ManagementSuperUserListReply) Descriptor() ([]byte, []int) {
  417. return fileDescriptor_8d10c68ef159b9ed, []int{7}
  418. }
  419. func (m *ManagementSuperUserListReply) XXX_Unmarshal(b []byte) error {
  420. return xxx_messageInfo_ManagementSuperUserListReply.Unmarshal(m, b)
  421. }
  422. func (m *ManagementSuperUserListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  423. return xxx_messageInfo_ManagementSuperUserListReply.Marshal(b, m, deterministic)
  424. }
  425. func (m *ManagementSuperUserListReply) XXX_Merge(src proto.Message) {
  426. xxx_messageInfo_ManagementSuperUserListReply.Merge(m, src)
  427. }
  428. func (m *ManagementSuperUserListReply) XXX_Size() int {
  429. return xxx_messageInfo_ManagementSuperUserListReply.Size(m)
  430. }
  431. func (m *ManagementSuperUserListReply) XXX_DiscardUnknown() {
  432. xxx_messageInfo_ManagementSuperUserListReply.DiscardUnknown(m)
  433. }
  434. var xxx_messageInfo_ManagementSuperUserListReply proto.InternalMessageInfo
  435. func (m *ManagementSuperUserListReply) GetTotal() int64 {
  436. if m != nil {
  437. return m.Total
  438. }
  439. return 0
  440. }
  441. func (m *ManagementSuperUserListReply) GetPage() int64 {
  442. if m != nil {
  443. return m.Page
  444. }
  445. return 0
  446. }
  447. func (m *ManagementSuperUserListReply) GetList() []*ManagementSuperUserItem {
  448. if m != nil {
  449. return m.List
  450. }
  451. return nil
  452. }
  453. type ManagementSuperUserUpdateRequest struct {
  454. OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
  455. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username"`
  456. Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
  457. Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email"`
  458. Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id"`
  459. Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password"`
  460. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  461. XXX_unrecognized []byte `json:"-"`
  462. XXX_sizecache int32 `json:"-"`
  463. }
  464. func (m *ManagementSuperUserUpdateRequest) Reset() { *m = ManagementSuperUserUpdateRequest{} }
  465. func (m *ManagementSuperUserUpdateRequest) String() string { return proto.CompactTextString(m) }
  466. func (*ManagementSuperUserUpdateRequest) ProtoMessage() {}
  467. func (*ManagementSuperUserUpdateRequest) Descriptor() ([]byte, []int) {
  468. return fileDescriptor_8d10c68ef159b9ed, []int{8}
  469. }
  470. func (m *ManagementSuperUserUpdateRequest) XXX_Unmarshal(b []byte) error {
  471. return xxx_messageInfo_ManagementSuperUserUpdateRequest.Unmarshal(m, b)
  472. }
  473. func (m *ManagementSuperUserUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  474. return xxx_messageInfo_ManagementSuperUserUpdateRequest.Marshal(b, m, deterministic)
  475. }
  476. func (m *ManagementSuperUserUpdateRequest) XXX_Merge(src proto.Message) {
  477. xxx_messageInfo_ManagementSuperUserUpdateRequest.Merge(m, src)
  478. }
  479. func (m *ManagementSuperUserUpdateRequest) XXX_Size() int {
  480. return xxx_messageInfo_ManagementSuperUserUpdateRequest.Size(m)
  481. }
  482. func (m *ManagementSuperUserUpdateRequest) XXX_DiscardUnknown() {
  483. xxx_messageInfo_ManagementSuperUserUpdateRequest.DiscardUnknown(m)
  484. }
  485. var xxx_messageInfo_ManagementSuperUserUpdateRequest proto.InternalMessageInfo
  486. func (m *ManagementSuperUserUpdateRequest) GetOrganizationCode() string {
  487. if m != nil {
  488. return m.OrganizationCode
  489. }
  490. return ""
  491. }
  492. func (m *ManagementSuperUserUpdateRequest) GetUsername() string {
  493. if m != nil {
  494. return m.Username
  495. }
  496. return ""
  497. }
  498. func (m *ManagementSuperUserUpdateRequest) GetPhone() string {
  499. if m != nil {
  500. return m.Phone
  501. }
  502. return ""
  503. }
  504. func (m *ManagementSuperUserUpdateRequest) GetEmail() string {
  505. if m != nil {
  506. return m.Email
  507. }
  508. return ""
  509. }
  510. func (m *ManagementSuperUserUpdateRequest) GetId() int64 {
  511. if m != nil {
  512. return m.Id
  513. }
  514. return 0
  515. }
  516. func (m *ManagementSuperUserUpdateRequest) GetPassword() string {
  517. if m != nil {
  518. return m.Password
  519. }
  520. return ""
  521. }
  522. type ManagementSuperUserUpdateReply struct {
  523. Origin *ManagementSuperUserUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  524. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  525. XXX_unrecognized []byte `json:"-"`
  526. XXX_sizecache int32 `json:"-"`
  527. }
  528. func (m *ManagementSuperUserUpdateReply) Reset() { *m = ManagementSuperUserUpdateReply{} }
  529. func (m *ManagementSuperUserUpdateReply) String() string { return proto.CompactTextString(m) }
  530. func (*ManagementSuperUserUpdateReply) ProtoMessage() {}
  531. func (*ManagementSuperUserUpdateReply) Descriptor() ([]byte, []int) {
  532. return fileDescriptor_8d10c68ef159b9ed, []int{9}
  533. }
  534. func (m *ManagementSuperUserUpdateReply) XXX_Unmarshal(b []byte) error {
  535. return xxx_messageInfo_ManagementSuperUserUpdateReply.Unmarshal(m, b)
  536. }
  537. func (m *ManagementSuperUserUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  538. return xxx_messageInfo_ManagementSuperUserUpdateReply.Marshal(b, m, deterministic)
  539. }
  540. func (m *ManagementSuperUserUpdateReply) XXX_Merge(src proto.Message) {
  541. xxx_messageInfo_ManagementSuperUserUpdateReply.Merge(m, src)
  542. }
  543. func (m *ManagementSuperUserUpdateReply) XXX_Size() int {
  544. return xxx_messageInfo_ManagementSuperUserUpdateReply.Size(m)
  545. }
  546. func (m *ManagementSuperUserUpdateReply) XXX_DiscardUnknown() {
  547. xxx_messageInfo_ManagementSuperUserUpdateReply.DiscardUnknown(m)
  548. }
  549. var xxx_messageInfo_ManagementSuperUserUpdateReply proto.InternalMessageInfo
  550. func (m *ManagementSuperUserUpdateReply) GetOrigin() *ManagementSuperUserUpdateRequest {
  551. if m != nil {
  552. return m.Origin
  553. }
  554. return nil
  555. }
  556. type ManagementSuperUserResetPasswordRequest struct {
  557. OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
  558. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
  559. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password"`
  560. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  561. XXX_unrecognized []byte `json:"-"`
  562. XXX_sizecache int32 `json:"-"`
  563. }
  564. func (m *ManagementSuperUserResetPasswordRequest) Reset() {
  565. *m = ManagementSuperUserResetPasswordRequest{}
  566. }
  567. func (m *ManagementSuperUserResetPasswordRequest) String() string { return proto.CompactTextString(m) }
  568. func (*ManagementSuperUserResetPasswordRequest) ProtoMessage() {}
  569. func (*ManagementSuperUserResetPasswordRequest) Descriptor() ([]byte, []int) {
  570. return fileDescriptor_8d10c68ef159b9ed, []int{10}
  571. }
  572. func (m *ManagementSuperUserResetPasswordRequest) XXX_Unmarshal(b []byte) error {
  573. return xxx_messageInfo_ManagementSuperUserResetPasswordRequest.Unmarshal(m, b)
  574. }
  575. func (m *ManagementSuperUserResetPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  576. return xxx_messageInfo_ManagementSuperUserResetPasswordRequest.Marshal(b, m, deterministic)
  577. }
  578. func (m *ManagementSuperUserResetPasswordRequest) XXX_Merge(src proto.Message) {
  579. xxx_messageInfo_ManagementSuperUserResetPasswordRequest.Merge(m, src)
  580. }
  581. func (m *ManagementSuperUserResetPasswordRequest) XXX_Size() int {
  582. return xxx_messageInfo_ManagementSuperUserResetPasswordRequest.Size(m)
  583. }
  584. func (m *ManagementSuperUserResetPasswordRequest) XXX_DiscardUnknown() {
  585. xxx_messageInfo_ManagementSuperUserResetPasswordRequest.DiscardUnknown(m)
  586. }
  587. var xxx_messageInfo_ManagementSuperUserResetPasswordRequest proto.InternalMessageInfo
  588. func (m *ManagementSuperUserResetPasswordRequest) GetOrganizationCode() string {
  589. if m != nil {
  590. return m.OrganizationCode
  591. }
  592. return ""
  593. }
  594. func (m *ManagementSuperUserResetPasswordRequest) GetId() int64 {
  595. if m != nil {
  596. return m.Id
  597. }
  598. return 0
  599. }
  600. func (m *ManagementSuperUserResetPasswordRequest) GetPassword() string {
  601. if m != nil {
  602. return m.Password
  603. }
  604. return ""
  605. }
  606. type ManagementSuperUserResetPasswordReply struct {
  607. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  608. XXX_unrecognized []byte `json:"-"`
  609. XXX_sizecache int32 `json:"-"`
  610. }
  611. func (m *ManagementSuperUserResetPasswordReply) Reset() { *m = ManagementSuperUserResetPasswordReply{} }
  612. func (m *ManagementSuperUserResetPasswordReply) String() string { return proto.CompactTextString(m) }
  613. func (*ManagementSuperUserResetPasswordReply) ProtoMessage() {}
  614. func (*ManagementSuperUserResetPasswordReply) Descriptor() ([]byte, []int) {
  615. return fileDescriptor_8d10c68ef159b9ed, []int{11}
  616. }
  617. func (m *ManagementSuperUserResetPasswordReply) XXX_Unmarshal(b []byte) error {
  618. return xxx_messageInfo_ManagementSuperUserResetPasswordReply.Unmarshal(m, b)
  619. }
  620. func (m *ManagementSuperUserResetPasswordReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  621. return xxx_messageInfo_ManagementSuperUserResetPasswordReply.Marshal(b, m, deterministic)
  622. }
  623. func (m *ManagementSuperUserResetPasswordReply) XXX_Merge(src proto.Message) {
  624. xxx_messageInfo_ManagementSuperUserResetPasswordReply.Merge(m, src)
  625. }
  626. func (m *ManagementSuperUserResetPasswordReply) XXX_Size() int {
  627. return xxx_messageInfo_ManagementSuperUserResetPasswordReply.Size(m)
  628. }
  629. func (m *ManagementSuperUserResetPasswordReply) XXX_DiscardUnknown() {
  630. xxx_messageInfo_ManagementSuperUserResetPasswordReply.DiscardUnknown(m)
  631. }
  632. var xxx_messageInfo_ManagementSuperUserResetPasswordReply proto.InternalMessageInfo
  633. func init() {
  634. proto.RegisterType((*InitOrganizationDbRequest)(nil), "pb_v1.InitOrganizationDbRequest")
  635. proto.RegisterType((*InitOrganizationDbReply)(nil), "pb_v1.InitOrganizationDbReply")
  636. proto.RegisterType((*RbacNode)(nil), "pb_v1.RbacNode")
  637. proto.RegisterType((*CreateManagementUserRequest)(nil), "pb_v1.CreateManagementUserRequest")
  638. proto.RegisterType((*CreateManagementUserReply)(nil), "pb_v1.CreateManagementUserReply")
  639. proto.RegisterType((*ManagementSuperUserItem)(nil), "pb_v1.ManagementSuperUserItem")
  640. proto.RegisterType((*ManagementSuperUserListRequest)(nil), "pb_v1.ManagementSuperUserListRequest")
  641. proto.RegisterType((*ManagementSuperUserListReply)(nil), "pb_v1.ManagementSuperUserListReply")
  642. proto.RegisterType((*ManagementSuperUserUpdateRequest)(nil), "pb_v1.ManagementSuperUserUpdateRequest")
  643. proto.RegisterType((*ManagementSuperUserUpdateReply)(nil), "pb_v1.ManagementSuperUserUpdateReply")
  644. proto.RegisterType((*ManagementSuperUserResetPasswordRequest)(nil), "pb_v1.ManagementSuperUserResetPasswordRequest")
  645. proto.RegisterType((*ManagementSuperUserResetPasswordReply)(nil), "pb_v1.ManagementSuperUserResetPasswordReply")
  646. }
  647. func init() {
  648. proto.RegisterFile("organization.proto", fileDescriptor_8d10c68ef159b9ed)
  649. }
  650. var fileDescriptor_8d10c68ef159b9ed = []byte{
  651. // 632 bytes of a gzipped FileDescriptorProto
  652. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6b, 0xdb, 0x4e,
  653. 0x10, 0x45, 0x96, 0xed, 0xd8, 0x93, 0x90, 0x5f, 0x7e, 0x4b, 0x68, 0xe4, 0x24, 0x0d, 0x41, 0xb4,
  654. 0x24, 0x50, 0x92, 0x90, 0x94, 0x9e, 0x4b, 0x9b, 0x1e, 0x6a, 0xe8, 0x3f, 0x14, 0x72, 0xe9, 0x45,
  655. 0xac, 0xa4, 0xc1, 0xd9, 0x62, 0x69, 0xb7, 0xbb, 0xab, 0x14, 0x9b, 0xd2, 0x43, 0x3f, 0x57, 0x4b,
  656. 0x0f, 0xfd, 0x62, 0x65, 0x77, 0x65, 0x55, 0x29, 0x32, 0x85, 0x34, 0xa7, 0xcc, 0x9b, 0x9d, 0x59,
  657. 0xbd, 0xf7, 0x66, 0x36, 0x06, 0xc2, 0xe5, 0x84, 0x16, 0x6c, 0x4e, 0x35, 0xe3, 0xc5, 0xb1, 0x90,
  658. 0x5c, 0x73, 0xd2, 0x13, 0x49, 0x7c, 0x7d, 0x1a, 0xbe, 0x84, 0xd1, 0xb8, 0x60, 0xfa, 0x6d, 0xa3,
  659. 0xe0, 0x45, 0x12, 0xe1, 0xc7, 0x12, 0x95, 0x26, 0x8f, 0xe0, 0xff, 0x66, 0x67, 0x9c, 0xf2, 0x0c,
  660. 0x03, 0x6f, 0xdf, 0x3b, 0x1c, 0x46, 0x1b, 0xcd, 0x83, 0x73, 0x9e, 0x61, 0x38, 0x82, 0xad, 0xb6,
  661. 0x9b, 0xc4, 0x74, 0x16, 0xfe, 0xf0, 0x60, 0x10, 0x25, 0x34, 0x7d, 0xc3, 0x33, 0x24, 0xeb, 0xd0,
  662. 0x61, 0x99, 0xbd, 0xc5, 0x8f, 0x3a, 0x2c, 0x23, 0x04, 0xba, 0x05, 0xcd, 0x31, 0xe8, 0xd8, 0x7b,
  663. 0x6d, 0x4c, 0xee, 0x41, 0x5f, 0xf2, 0x52, 0xa3, 0x0c, 0x7c, 0x9b, 0xad, 0x90, 0xc9, 0xe7, 0xa8,
  664. 0xaf, 0x78, 0x16, 0x74, 0x5d, 0xde, 0x21, 0xb2, 0x0d, 0x03, 0x89, 0x8a, 0x97, 0x32, 0xc5, 0xa0,
  665. 0x67, 0x4f, 0x6a, 0x6c, 0x7a, 0x78, 0xf2, 0x01, 0x53, 0x1d, 0xf4, 0x5d, 0x8f, 0x43, 0x64, 0x03,
  666. 0x7c, 0xc1, 0xb2, 0x60, 0xc5, 0x12, 0x31, 0x21, 0x19, 0xc1, 0x80, 0xa9, 0x58, 0x95, 0x02, 0x65,
  667. 0x30, 0xd8, 0xf7, 0x0e, 0x07, 0xd1, 0x0a, 0x53, 0x17, 0x06, 0x86, 0xdf, 0x3a, 0xb0, 0x73, 0x2e,
  668. 0x91, 0x6a, 0x7c, 0x4d, 0x0b, 0x3a, 0xc1, 0x1c, 0x0b, 0x7d, 0xa9, 0x50, 0xde, 0xc6, 0x29, 0xc3,
  669. 0xb6, 0x54, 0x28, 0x1b, 0xaa, 0x6b, 0x6c, 0xce, 0x04, 0x55, 0xea, 0x13, 0x97, 0x59, 0xa5, 0xbd,
  670. 0xc6, 0x64, 0x13, 0x7a, 0xe2, 0x8a, 0x17, 0x58, 0x89, 0x77, 0xc0, 0x64, 0x31, 0xa7, 0x6c, 0x5a,
  671. 0x09, 0x77, 0x80, 0x3c, 0x81, 0x75, 0x99, 0xd0, 0x34, 0x2e, 0x78, 0x86, 0xf1, 0x94, 0x29, 0xa3,
  672. 0xde, 0x3f, 0x5c, 0x3d, 0xfb, 0xef, 0xd8, 0xce, 0xfd, 0x78, 0x31, 0x8e, 0x68, 0x4d, 0x56, 0xd1,
  673. 0x2b, 0xa6, 0x34, 0x79, 0x00, 0xeb, 0xce, 0x02, 0x81, 0x32, 0x36, 0xa4, 0xac, 0x3f, 0x83, 0x68,
  674. 0xcd, 0x1a, 0x21, 0x50, 0x1a, 0xd1, 0xc6, 0xa8, 0x89, 0xe4, 0xa5, 0x88, 0x59, 0x66, 0x8d, 0xf2,
  675. 0xa3, 0x15, 0x8b, 0xc7, 0x96, 0xe3, 0x9c, 0x17, 0xa8, 0x82, 0xa1, 0x63, 0x63, 0x41, 0x78, 0x04,
  676. 0xa3, 0x76, 0xf7, 0xc4, 0x74, 0x66, 0x06, 0x51, 0xd6, 0x1b, 0x61, 0xc2, 0xf0, 0xbb, 0x07, 0x5b,
  677. 0xbf, 0x2b, 0xed, 0x04, 0x4c, 0xf9, 0x58, 0x63, 0x7e, 0x77, 0x4e, 0xd7, 0x6e, 0xfa, 0xad, 0x6e,
  678. 0x76, 0x9b, 0x6e, 0xba, 0x9d, 0xed, 0xd5, 0x3b, 0x7b, 0x1f, 0x20, 0xb5, 0x7a, 0xb2, 0x98, 0x2e,
  679. 0xf6, 0x6a, 0x58, 0x65, 0x9e, 0xe9, 0xf0, 0x0b, 0xec, 0xb5, 0xd0, 0x37, 0x06, 0x2f, 0xf6, 0x85,
  680. 0x40, 0x57, 0xd0, 0x09, 0x56, 0xa2, 0x6d, 0x4c, 0x76, 0x60, 0x68, 0xfe, 0xc6, 0x8a, 0xcd, 0x1d,
  681. 0x5b, 0xdf, 0xcc, 0x7e, 0x82, 0x17, 0x6c, 0x8e, 0xed, 0xb2, 0xfd, 0x25, 0x4f, 0xf1, 0x33, 0xec,
  682. 0x2e, 0xfd, 0xbe, 0x71, 0x7c, 0x13, 0x7a, 0x9a, 0x6b, 0x3a, 0xad, 0x3e, 0xef, 0x40, 0xcd, 0xa9,
  683. 0xd3, 0xe0, 0x74, 0x06, 0x5d, 0xbb, 0x3c, 0xbe, 0x5d, 0x9e, 0xbd, 0x6a, 0x79, 0x96, 0xcc, 0x26,
  684. 0xb2, 0xb5, 0xe1, 0x4f, 0x0f, 0xf6, 0x5b, 0x2a, 0x2e, 0x45, 0x46, 0x35, 0xde, 0xf9, 0x83, 0xf9,
  685. 0x97, 0x31, 0x36, 0x1f, 0x5b, 0xff, 0xe6, 0x63, 0x0b, 0x69, 0xeb, 0x0c, 0x17, 0x22, 0x8c, 0x8b,
  686. 0x4f, 0xa1, 0xcf, 0x25, 0x9b, 0xb0, 0xc2, 0xf2, 0x5e, 0x3d, 0x3b, 0x58, 0xee, 0xce, 0x0d, 0xed,
  687. 0x51, 0xd5, 0x16, 0x7e, 0xf5, 0xe0, 0xa0, 0xa5, 0x38, 0x42, 0x85, 0xfa, 0x5d, 0xc5, 0xe3, 0x56,
  688. 0x7e, 0x39, 0x9d, 0x9d, 0x56, 0x9d, 0x7f, 0xfc, 0x53, 0x09, 0x0f, 0xe0, 0xe1, 0xdf, 0x39, 0x88,
  689. 0xe9, 0xec, 0xf9, 0xee, 0xfb, 0xed, 0x54, 0x1c, 0xa9, 0x99, 0xd2, 0x98, 0x1f, 0xe5, 0x75, 0xcb,
  690. 0x89, 0x48, 0x4e, 0xae, 0x4f, 0x93, 0xbe, 0xfd, 0x55, 0x79, 0xfc, 0x2b, 0x00, 0x00, 0xff, 0xff,
  691. 0x41, 0x92, 0x4a, 0x26, 0x6b, 0x06, 0x00, 0x00,
  692. }