property_log.pb.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: property_log.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 CompanyLogAddRequest struct {
  20. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  21. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action"`
  22. Origin string `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin"`
  23. Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target"`
  24. Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username"`
  25. Cid int64 `protobuf:"varint,6,opt,name=cid,proto3" json:"cid"`
  26. Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp"`
  27. Module string `protobuf:"bytes,8,opt,name=module,proto3" json:"module"`
  28. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  29. XXX_unrecognized []byte `json:"-"`
  30. XXX_sizecache int32 `json:"-"`
  31. }
  32. func (m *CompanyLogAddRequest) Reset() { *m = CompanyLogAddRequest{} }
  33. func (m *CompanyLogAddRequest) String() string { return proto.CompactTextString(m) }
  34. func (*CompanyLogAddRequest) ProtoMessage() {}
  35. func (*CompanyLogAddRequest) Descriptor() ([]byte, []int) {
  36. return fileDescriptor_a4d9d6414d2ef346, []int{0}
  37. }
  38. func (m *CompanyLogAddRequest) XXX_Unmarshal(b []byte) error {
  39. return xxx_messageInfo_CompanyLogAddRequest.Unmarshal(m, b)
  40. }
  41. func (m *CompanyLogAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  42. return xxx_messageInfo_CompanyLogAddRequest.Marshal(b, m, deterministic)
  43. }
  44. func (m *CompanyLogAddRequest) XXX_Merge(src proto.Message) {
  45. xxx_messageInfo_CompanyLogAddRequest.Merge(m, src)
  46. }
  47. func (m *CompanyLogAddRequest) XXX_Size() int {
  48. return xxx_messageInfo_CompanyLogAddRequest.Size(m)
  49. }
  50. func (m *CompanyLogAddRequest) XXX_DiscardUnknown() {
  51. xxx_messageInfo_CompanyLogAddRequest.DiscardUnknown(m)
  52. }
  53. var xxx_messageInfo_CompanyLogAddRequest proto.InternalMessageInfo
  54. func (m *CompanyLogAddRequest) GetUid() int64 {
  55. if m != nil {
  56. return m.Uid
  57. }
  58. return 0
  59. }
  60. func (m *CompanyLogAddRequest) GetAction() string {
  61. if m != nil {
  62. return m.Action
  63. }
  64. return ""
  65. }
  66. func (m *CompanyLogAddRequest) GetOrigin() string {
  67. if m != nil {
  68. return m.Origin
  69. }
  70. return ""
  71. }
  72. func (m *CompanyLogAddRequest) GetTarget() string {
  73. if m != nil {
  74. return m.Target
  75. }
  76. return ""
  77. }
  78. func (m *CompanyLogAddRequest) GetUsername() string {
  79. if m != nil {
  80. return m.Username
  81. }
  82. return ""
  83. }
  84. func (m *CompanyLogAddRequest) GetCid() int64 {
  85. if m != nil {
  86. return m.Cid
  87. }
  88. return 0
  89. }
  90. func (m *CompanyLogAddRequest) GetTimestamp() int64 {
  91. if m != nil {
  92. return m.Timestamp
  93. }
  94. return 0
  95. }
  96. func (m *CompanyLogAddRequest) GetModule() string {
  97. if m != nil {
  98. return m.Module
  99. }
  100. return ""
  101. }
  102. type CompanyLogAddReply struct {
  103. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  104. XXX_unrecognized []byte `json:"-"`
  105. XXX_sizecache int32 `json:"-"`
  106. }
  107. func (m *CompanyLogAddReply) Reset() { *m = CompanyLogAddReply{} }
  108. func (m *CompanyLogAddReply) String() string { return proto.CompactTextString(m) }
  109. func (*CompanyLogAddReply) ProtoMessage() {}
  110. func (*CompanyLogAddReply) Descriptor() ([]byte, []int) {
  111. return fileDescriptor_a4d9d6414d2ef346, []int{1}
  112. }
  113. func (m *CompanyLogAddReply) XXX_Unmarshal(b []byte) error {
  114. return xxx_messageInfo_CompanyLogAddReply.Unmarshal(m, b)
  115. }
  116. func (m *CompanyLogAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  117. return xxx_messageInfo_CompanyLogAddReply.Marshal(b, m, deterministic)
  118. }
  119. func (m *CompanyLogAddReply) XXX_Merge(src proto.Message) {
  120. xxx_messageInfo_CompanyLogAddReply.Merge(m, src)
  121. }
  122. func (m *CompanyLogAddReply) XXX_Size() int {
  123. return xxx_messageInfo_CompanyLogAddReply.Size(m)
  124. }
  125. func (m *CompanyLogAddReply) XXX_DiscardUnknown() {
  126. xxx_messageInfo_CompanyLogAddReply.DiscardUnknown(m)
  127. }
  128. var xxx_messageInfo_CompanyLogAddReply proto.InternalMessageInfo
  129. type CompanyLogItem struct {
  130. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  131. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action"`
  132. Origin string `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin"`
  133. Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target"`
  134. Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username"`
  135. Cid int64 `protobuf:"varint,6,opt,name=cid,proto3" json:"cid"`
  136. CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  137. Id int64 `protobuf:"varint,8,opt,name=id,proto3" json:"id"`
  138. Module string `protobuf:"bytes,9,opt,name=module,proto3" json:"module"`
  139. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  140. XXX_unrecognized []byte `json:"-"`
  141. XXX_sizecache int32 `json:"-"`
  142. }
  143. func (m *CompanyLogItem) Reset() { *m = CompanyLogItem{} }
  144. func (m *CompanyLogItem) String() string { return proto.CompactTextString(m) }
  145. func (*CompanyLogItem) ProtoMessage() {}
  146. func (*CompanyLogItem) Descriptor() ([]byte, []int) {
  147. return fileDescriptor_a4d9d6414d2ef346, []int{2}
  148. }
  149. func (m *CompanyLogItem) XXX_Unmarshal(b []byte) error {
  150. return xxx_messageInfo_CompanyLogItem.Unmarshal(m, b)
  151. }
  152. func (m *CompanyLogItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  153. return xxx_messageInfo_CompanyLogItem.Marshal(b, m, deterministic)
  154. }
  155. func (m *CompanyLogItem) XXX_Merge(src proto.Message) {
  156. xxx_messageInfo_CompanyLogItem.Merge(m, src)
  157. }
  158. func (m *CompanyLogItem) XXX_Size() int {
  159. return xxx_messageInfo_CompanyLogItem.Size(m)
  160. }
  161. func (m *CompanyLogItem) XXX_DiscardUnknown() {
  162. xxx_messageInfo_CompanyLogItem.DiscardUnknown(m)
  163. }
  164. var xxx_messageInfo_CompanyLogItem proto.InternalMessageInfo
  165. func (m *CompanyLogItem) GetUid() int64 {
  166. if m != nil {
  167. return m.Uid
  168. }
  169. return 0
  170. }
  171. func (m *CompanyLogItem) GetAction() string {
  172. if m != nil {
  173. return m.Action
  174. }
  175. return ""
  176. }
  177. func (m *CompanyLogItem) GetOrigin() string {
  178. if m != nil {
  179. return m.Origin
  180. }
  181. return ""
  182. }
  183. func (m *CompanyLogItem) GetTarget() string {
  184. if m != nil {
  185. return m.Target
  186. }
  187. return ""
  188. }
  189. func (m *CompanyLogItem) GetUsername() string {
  190. if m != nil {
  191. return m.Username
  192. }
  193. return ""
  194. }
  195. func (m *CompanyLogItem) GetCid() int64 {
  196. if m != nil {
  197. return m.Cid
  198. }
  199. return 0
  200. }
  201. func (m *CompanyLogItem) GetCreatedAt() string {
  202. if m != nil {
  203. return m.CreatedAt
  204. }
  205. return ""
  206. }
  207. func (m *CompanyLogItem) GetId() int64 {
  208. if m != nil {
  209. return m.Id
  210. }
  211. return 0
  212. }
  213. func (m *CompanyLogItem) GetModule() string {
  214. if m != nil {
  215. return m.Module
  216. }
  217. return ""
  218. }
  219. type CompanyLogRequest struct {
  220. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  221. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  222. Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start"`
  223. End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end"`
  224. Cid int64 `protobuf:"varint,5,opt,name=cid,proto3" json:"cid"`
  225. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  226. XXX_unrecognized []byte `json:"-"`
  227. XXX_sizecache int32 `json:"-"`
  228. }
  229. func (m *CompanyLogRequest) Reset() { *m = CompanyLogRequest{} }
  230. func (m *CompanyLogRequest) String() string { return proto.CompactTextString(m) }
  231. func (*CompanyLogRequest) ProtoMessage() {}
  232. func (*CompanyLogRequest) Descriptor() ([]byte, []int) {
  233. return fileDescriptor_a4d9d6414d2ef346, []int{3}
  234. }
  235. func (m *CompanyLogRequest) XXX_Unmarshal(b []byte) error {
  236. return xxx_messageInfo_CompanyLogRequest.Unmarshal(m, b)
  237. }
  238. func (m *CompanyLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  239. return xxx_messageInfo_CompanyLogRequest.Marshal(b, m, deterministic)
  240. }
  241. func (m *CompanyLogRequest) XXX_Merge(src proto.Message) {
  242. xxx_messageInfo_CompanyLogRequest.Merge(m, src)
  243. }
  244. func (m *CompanyLogRequest) XXX_Size() int {
  245. return xxx_messageInfo_CompanyLogRequest.Size(m)
  246. }
  247. func (m *CompanyLogRequest) XXX_DiscardUnknown() {
  248. xxx_messageInfo_CompanyLogRequest.DiscardUnknown(m)
  249. }
  250. var xxx_messageInfo_CompanyLogRequest proto.InternalMessageInfo
  251. func (m *CompanyLogRequest) GetPage() int64 {
  252. if m != nil {
  253. return m.Page
  254. }
  255. return 0
  256. }
  257. func (m *CompanyLogRequest) GetPageSize() int64 {
  258. if m != nil {
  259. return m.PageSize
  260. }
  261. return 0
  262. }
  263. func (m *CompanyLogRequest) GetStart() int64 {
  264. if m != nil {
  265. return m.Start
  266. }
  267. return 0
  268. }
  269. func (m *CompanyLogRequest) GetEnd() int64 {
  270. if m != nil {
  271. return m.End
  272. }
  273. return 0
  274. }
  275. func (m *CompanyLogRequest) GetCid() int64 {
  276. if m != nil {
  277. return m.Cid
  278. }
  279. return 0
  280. }
  281. type CompanyLogReply struct {
  282. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  283. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  284. List []*CompanyLogItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  285. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  286. XXX_unrecognized []byte `json:"-"`
  287. XXX_sizecache int32 `json:"-"`
  288. }
  289. func (m *CompanyLogReply) Reset() { *m = CompanyLogReply{} }
  290. func (m *CompanyLogReply) String() string { return proto.CompactTextString(m) }
  291. func (*CompanyLogReply) ProtoMessage() {}
  292. func (*CompanyLogReply) Descriptor() ([]byte, []int) {
  293. return fileDescriptor_a4d9d6414d2ef346, []int{4}
  294. }
  295. func (m *CompanyLogReply) XXX_Unmarshal(b []byte) error {
  296. return xxx_messageInfo_CompanyLogReply.Unmarshal(m, b)
  297. }
  298. func (m *CompanyLogReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  299. return xxx_messageInfo_CompanyLogReply.Marshal(b, m, deterministic)
  300. }
  301. func (m *CompanyLogReply) XXX_Merge(src proto.Message) {
  302. xxx_messageInfo_CompanyLogReply.Merge(m, src)
  303. }
  304. func (m *CompanyLogReply) XXX_Size() int {
  305. return xxx_messageInfo_CompanyLogReply.Size(m)
  306. }
  307. func (m *CompanyLogReply) XXX_DiscardUnknown() {
  308. xxx_messageInfo_CompanyLogReply.DiscardUnknown(m)
  309. }
  310. var xxx_messageInfo_CompanyLogReply proto.InternalMessageInfo
  311. func (m *CompanyLogReply) GetTotal() int64 {
  312. if m != nil {
  313. return m.Total
  314. }
  315. return 0
  316. }
  317. func (m *CompanyLogReply) GetPage() int64 {
  318. if m != nil {
  319. return m.Page
  320. }
  321. return 0
  322. }
  323. func (m *CompanyLogReply) GetList() []*CompanyLogItem {
  324. if m != nil {
  325. return m.List
  326. }
  327. return nil
  328. }
  329. type SystemLogAddRequest struct {
  330. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  331. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action"`
  332. Origin string `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin"`
  333. Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target"`
  334. Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username"`
  335. Cid int64 `protobuf:"varint,6,opt,name=cid,proto3" json:"cid"`
  336. Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp"`
  337. GardenId int64 `protobuf:"varint,8,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  338. Module string `protobuf:"bytes,9,opt,name=module,proto3" json:"module"`
  339. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  340. XXX_unrecognized []byte `json:"-"`
  341. XXX_sizecache int32 `json:"-"`
  342. }
  343. func (m *SystemLogAddRequest) Reset() { *m = SystemLogAddRequest{} }
  344. func (m *SystemLogAddRequest) String() string { return proto.CompactTextString(m) }
  345. func (*SystemLogAddRequest) ProtoMessage() {}
  346. func (*SystemLogAddRequest) Descriptor() ([]byte, []int) {
  347. return fileDescriptor_a4d9d6414d2ef346, []int{5}
  348. }
  349. func (m *SystemLogAddRequest) XXX_Unmarshal(b []byte) error {
  350. return xxx_messageInfo_SystemLogAddRequest.Unmarshal(m, b)
  351. }
  352. func (m *SystemLogAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  353. return xxx_messageInfo_SystemLogAddRequest.Marshal(b, m, deterministic)
  354. }
  355. func (m *SystemLogAddRequest) XXX_Merge(src proto.Message) {
  356. xxx_messageInfo_SystemLogAddRequest.Merge(m, src)
  357. }
  358. func (m *SystemLogAddRequest) XXX_Size() int {
  359. return xxx_messageInfo_SystemLogAddRequest.Size(m)
  360. }
  361. func (m *SystemLogAddRequest) XXX_DiscardUnknown() {
  362. xxx_messageInfo_SystemLogAddRequest.DiscardUnknown(m)
  363. }
  364. var xxx_messageInfo_SystemLogAddRequest proto.InternalMessageInfo
  365. func (m *SystemLogAddRequest) GetUid() int64 {
  366. if m != nil {
  367. return m.Uid
  368. }
  369. return 0
  370. }
  371. func (m *SystemLogAddRequest) GetAction() string {
  372. if m != nil {
  373. return m.Action
  374. }
  375. return ""
  376. }
  377. func (m *SystemLogAddRequest) GetOrigin() string {
  378. if m != nil {
  379. return m.Origin
  380. }
  381. return ""
  382. }
  383. func (m *SystemLogAddRequest) GetTarget() string {
  384. if m != nil {
  385. return m.Target
  386. }
  387. return ""
  388. }
  389. func (m *SystemLogAddRequest) GetUsername() string {
  390. if m != nil {
  391. return m.Username
  392. }
  393. return ""
  394. }
  395. func (m *SystemLogAddRequest) GetCid() int64 {
  396. if m != nil {
  397. return m.Cid
  398. }
  399. return 0
  400. }
  401. func (m *SystemLogAddRequest) GetTimestamp() int64 {
  402. if m != nil {
  403. return m.Timestamp
  404. }
  405. return 0
  406. }
  407. func (m *SystemLogAddRequest) GetGardenId() int64 {
  408. if m != nil {
  409. return m.GardenId
  410. }
  411. return 0
  412. }
  413. func (m *SystemLogAddRequest) GetModule() string {
  414. if m != nil {
  415. return m.Module
  416. }
  417. return ""
  418. }
  419. type SystemLogAddReply struct {
  420. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  421. XXX_unrecognized []byte `json:"-"`
  422. XXX_sizecache int32 `json:"-"`
  423. }
  424. func (m *SystemLogAddReply) Reset() { *m = SystemLogAddReply{} }
  425. func (m *SystemLogAddReply) String() string { return proto.CompactTextString(m) }
  426. func (*SystemLogAddReply) ProtoMessage() {}
  427. func (*SystemLogAddReply) Descriptor() ([]byte, []int) {
  428. return fileDescriptor_a4d9d6414d2ef346, []int{6}
  429. }
  430. func (m *SystemLogAddReply) XXX_Unmarshal(b []byte) error {
  431. return xxx_messageInfo_SystemLogAddReply.Unmarshal(m, b)
  432. }
  433. func (m *SystemLogAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  434. return xxx_messageInfo_SystemLogAddReply.Marshal(b, m, deterministic)
  435. }
  436. func (m *SystemLogAddReply) XXX_Merge(src proto.Message) {
  437. xxx_messageInfo_SystemLogAddReply.Merge(m, src)
  438. }
  439. func (m *SystemLogAddReply) XXX_Size() int {
  440. return xxx_messageInfo_SystemLogAddReply.Size(m)
  441. }
  442. func (m *SystemLogAddReply) XXX_DiscardUnknown() {
  443. xxx_messageInfo_SystemLogAddReply.DiscardUnknown(m)
  444. }
  445. var xxx_messageInfo_SystemLogAddReply proto.InternalMessageInfo
  446. type SystemLogItem struct {
  447. Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
  448. Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action"`
  449. Origin string `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin"`
  450. Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target"`
  451. Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username"`
  452. Cid int64 `protobuf:"varint,6,opt,name=cid,proto3" json:"cid"`
  453. CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  454. Id int64 `protobuf:"varint,8,opt,name=id,proto3" json:"id"`
  455. GardenId int64 `protobuf:"varint,9,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  456. Module string `protobuf:"bytes,10,opt,name=module,proto3" json:"module"`
  457. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  458. XXX_unrecognized []byte `json:"-"`
  459. XXX_sizecache int32 `json:"-"`
  460. }
  461. func (m *SystemLogItem) Reset() { *m = SystemLogItem{} }
  462. func (m *SystemLogItem) String() string { return proto.CompactTextString(m) }
  463. func (*SystemLogItem) ProtoMessage() {}
  464. func (*SystemLogItem) Descriptor() ([]byte, []int) {
  465. return fileDescriptor_a4d9d6414d2ef346, []int{7}
  466. }
  467. func (m *SystemLogItem) XXX_Unmarshal(b []byte) error {
  468. return xxx_messageInfo_SystemLogItem.Unmarshal(m, b)
  469. }
  470. func (m *SystemLogItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  471. return xxx_messageInfo_SystemLogItem.Marshal(b, m, deterministic)
  472. }
  473. func (m *SystemLogItem) XXX_Merge(src proto.Message) {
  474. xxx_messageInfo_SystemLogItem.Merge(m, src)
  475. }
  476. func (m *SystemLogItem) XXX_Size() int {
  477. return xxx_messageInfo_SystemLogItem.Size(m)
  478. }
  479. func (m *SystemLogItem) XXX_DiscardUnknown() {
  480. xxx_messageInfo_SystemLogItem.DiscardUnknown(m)
  481. }
  482. var xxx_messageInfo_SystemLogItem proto.InternalMessageInfo
  483. func (m *SystemLogItem) GetUid() int64 {
  484. if m != nil {
  485. return m.Uid
  486. }
  487. return 0
  488. }
  489. func (m *SystemLogItem) GetAction() string {
  490. if m != nil {
  491. return m.Action
  492. }
  493. return ""
  494. }
  495. func (m *SystemLogItem) GetOrigin() string {
  496. if m != nil {
  497. return m.Origin
  498. }
  499. return ""
  500. }
  501. func (m *SystemLogItem) GetTarget() string {
  502. if m != nil {
  503. return m.Target
  504. }
  505. return ""
  506. }
  507. func (m *SystemLogItem) GetUsername() string {
  508. if m != nil {
  509. return m.Username
  510. }
  511. return ""
  512. }
  513. func (m *SystemLogItem) GetCid() int64 {
  514. if m != nil {
  515. return m.Cid
  516. }
  517. return 0
  518. }
  519. func (m *SystemLogItem) GetCreatedAt() string {
  520. if m != nil {
  521. return m.CreatedAt
  522. }
  523. return ""
  524. }
  525. func (m *SystemLogItem) GetId() int64 {
  526. if m != nil {
  527. return m.Id
  528. }
  529. return 0
  530. }
  531. func (m *SystemLogItem) GetGardenId() int64 {
  532. if m != nil {
  533. return m.GardenId
  534. }
  535. return 0
  536. }
  537. func (m *SystemLogItem) GetModule() string {
  538. if m != nil {
  539. return m.Module
  540. }
  541. return ""
  542. }
  543. type SystemLogRequest struct {
  544. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  545. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  546. Start int64 `protobuf:"varint,3,opt,name=start,proto3" json:"start"`
  547. End int64 `protobuf:"varint,4,opt,name=end,proto3" json:"end"`
  548. GardenId int64 `protobuf:"varint,5,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  549. Cid int64 `protobuf:"varint,6,opt,name=cid,proto3" json:"cid"`
  550. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  551. XXX_unrecognized []byte `json:"-"`
  552. XXX_sizecache int32 `json:"-"`
  553. }
  554. func (m *SystemLogRequest) Reset() { *m = SystemLogRequest{} }
  555. func (m *SystemLogRequest) String() string { return proto.CompactTextString(m) }
  556. func (*SystemLogRequest) ProtoMessage() {}
  557. func (*SystemLogRequest) Descriptor() ([]byte, []int) {
  558. return fileDescriptor_a4d9d6414d2ef346, []int{8}
  559. }
  560. func (m *SystemLogRequest) XXX_Unmarshal(b []byte) error {
  561. return xxx_messageInfo_SystemLogRequest.Unmarshal(m, b)
  562. }
  563. func (m *SystemLogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  564. return xxx_messageInfo_SystemLogRequest.Marshal(b, m, deterministic)
  565. }
  566. func (m *SystemLogRequest) XXX_Merge(src proto.Message) {
  567. xxx_messageInfo_SystemLogRequest.Merge(m, src)
  568. }
  569. func (m *SystemLogRequest) XXX_Size() int {
  570. return xxx_messageInfo_SystemLogRequest.Size(m)
  571. }
  572. func (m *SystemLogRequest) XXX_DiscardUnknown() {
  573. xxx_messageInfo_SystemLogRequest.DiscardUnknown(m)
  574. }
  575. var xxx_messageInfo_SystemLogRequest proto.InternalMessageInfo
  576. func (m *SystemLogRequest) GetPage() int64 {
  577. if m != nil {
  578. return m.Page
  579. }
  580. return 0
  581. }
  582. func (m *SystemLogRequest) GetPageSize() int64 {
  583. if m != nil {
  584. return m.PageSize
  585. }
  586. return 0
  587. }
  588. func (m *SystemLogRequest) GetStart() int64 {
  589. if m != nil {
  590. return m.Start
  591. }
  592. return 0
  593. }
  594. func (m *SystemLogRequest) GetEnd() int64 {
  595. if m != nil {
  596. return m.End
  597. }
  598. return 0
  599. }
  600. func (m *SystemLogRequest) GetGardenId() int64 {
  601. if m != nil {
  602. return m.GardenId
  603. }
  604. return 0
  605. }
  606. func (m *SystemLogRequest) GetCid() int64 {
  607. if m != nil {
  608. return m.Cid
  609. }
  610. return 0
  611. }
  612. type SystemLogReply struct {
  613. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  614. Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  615. List []*SystemLogItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  616. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  617. XXX_unrecognized []byte `json:"-"`
  618. XXX_sizecache int32 `json:"-"`
  619. }
  620. func (m *SystemLogReply) Reset() { *m = SystemLogReply{} }
  621. func (m *SystemLogReply) String() string { return proto.CompactTextString(m) }
  622. func (*SystemLogReply) ProtoMessage() {}
  623. func (*SystemLogReply) Descriptor() ([]byte, []int) {
  624. return fileDescriptor_a4d9d6414d2ef346, []int{9}
  625. }
  626. func (m *SystemLogReply) XXX_Unmarshal(b []byte) error {
  627. return xxx_messageInfo_SystemLogReply.Unmarshal(m, b)
  628. }
  629. func (m *SystemLogReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  630. return xxx_messageInfo_SystemLogReply.Marshal(b, m, deterministic)
  631. }
  632. func (m *SystemLogReply) XXX_Merge(src proto.Message) {
  633. xxx_messageInfo_SystemLogReply.Merge(m, src)
  634. }
  635. func (m *SystemLogReply) XXX_Size() int {
  636. return xxx_messageInfo_SystemLogReply.Size(m)
  637. }
  638. func (m *SystemLogReply) XXX_DiscardUnknown() {
  639. xxx_messageInfo_SystemLogReply.DiscardUnknown(m)
  640. }
  641. var xxx_messageInfo_SystemLogReply proto.InternalMessageInfo
  642. func (m *SystemLogReply) GetTotal() int64 {
  643. if m != nil {
  644. return m.Total
  645. }
  646. return 0
  647. }
  648. func (m *SystemLogReply) GetPage() int64 {
  649. if m != nil {
  650. return m.Page
  651. }
  652. return 0
  653. }
  654. func (m *SystemLogReply) GetList() []*SystemLogItem {
  655. if m != nil {
  656. return m.List
  657. }
  658. return nil
  659. }
  660. func init() {
  661. proto.RegisterType((*CompanyLogAddRequest)(nil), "pb_v1.CompanyLogAddRequest")
  662. proto.RegisterType((*CompanyLogAddReply)(nil), "pb_v1.CompanyLogAddReply")
  663. proto.RegisterType((*CompanyLogItem)(nil), "pb_v1.CompanyLogItem")
  664. proto.RegisterType((*CompanyLogRequest)(nil), "pb_v1.CompanyLogRequest")
  665. proto.RegisterType((*CompanyLogReply)(nil), "pb_v1.CompanyLogReply")
  666. proto.RegisterType((*SystemLogAddRequest)(nil), "pb_v1.SystemLogAddRequest")
  667. proto.RegisterType((*SystemLogAddReply)(nil), "pb_v1.SystemLogAddReply")
  668. proto.RegisterType((*SystemLogItem)(nil), "pb_v1.SystemLogItem")
  669. proto.RegisterType((*SystemLogRequest)(nil), "pb_v1.SystemLogRequest")
  670. proto.RegisterType((*SystemLogReply)(nil), "pb_v1.SystemLogReply")
  671. }
  672. func init() {
  673. proto.RegisterFile("property_log.proto", fileDescriptor_a4d9d6414d2ef346)
  674. }
  675. var fileDescriptor_a4d9d6414d2ef346 = []byte{
  676. // 482 bytes of a gzipped FileDescriptorProto
  677. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x94, 0xcf, 0x6e, 0xd3, 0x4e,
  678. 0x10, 0xc7, 0xe5, 0x38, 0xce, 0x2f, 0x9e, 0x9f, 0x08, 0xed, 0x36, 0x20, 0x8b, 0x02, 0x8a, 0x7c,
  679. 0x0a, 0x87, 0xa6, 0x2a, 0x3c, 0x41, 0xe1, 0x54, 0x89, 0x93, 0x7b, 0xe3, 0x62, 0x6d, 0xb2, 0x83,
  680. 0xb5, 0x92, 0xed, 0x5d, 0xd6, 0x93, 0x22, 0xf7, 0xc0, 0x83, 0xf0, 0x5c, 0xdc, 0x79, 0x05, 0xee,
  681. 0x5c, 0xd0, 0xee, 0x3a, 0x4e, 0x5c, 0xd4, 0x03, 0x07, 0x24, 0x7a, 0xf2, 0xce, 0xd7, 0x96, 0xe7,
  682. 0xfb, 0x99, 0x3f, 0x0b, 0x4c, 0x1b, 0xa5, 0xd1, 0x50, 0x9b, 0x97, 0xaa, 0x58, 0x69, 0xa3, 0x48,
  683. 0xb1, 0x48, 0xaf, 0xf3, 0x9b, 0x8b, 0xf4, 0x5b, 0x00, 0xf3, 0x77, 0xaa, 0xd2, 0xbc, 0x6e, 0xdf,
  684. 0xab, 0xe2, 0x52, 0x88, 0x0c, 0x3f, 0x6d, 0xb1, 0x21, 0x76, 0x04, 0xe1, 0x56, 0x8a, 0x24, 0x58,
  685. 0x04, 0xcb, 0x30, 0xb3, 0x47, 0xf6, 0x14, 0x26, 0x7c, 0x43, 0x52, 0xd5, 0xc9, 0x68, 0x11, 0x2c,
  686. 0xe3, 0xac, 0x8b, 0xac, 0xae, 0x8c, 0x2c, 0x64, 0x9d, 0x84, 0x5e, 0xf7, 0x91, 0xd5, 0x89, 0x9b,
  687. 0x02, 0x29, 0x19, 0x7b, 0xdd, 0x47, 0xec, 0x19, 0x4c, 0xb7, 0x0d, 0x9a, 0x9a, 0x57, 0x98, 0x44,
  688. 0xee, 0x4d, 0x1f, 0xdb, 0xac, 0x1b, 0x29, 0x92, 0x89, 0xcf, 0xba, 0x91, 0x82, 0x3d, 0x87, 0x98,
  689. 0x64, 0x85, 0x0d, 0xf1, 0x4a, 0x27, 0xff, 0x39, 0x7d, 0x2f, 0xd8, 0x1c, 0x95, 0x12, 0xdb, 0x12,
  690. 0x93, 0xa9, 0xcf, 0xe1, 0xa3, 0x74, 0x0e, 0xec, 0x0e, 0x95, 0x2e, 0xdb, 0xf4, 0x7b, 0x00, 0xb3,
  691. 0xbd, 0x7c, 0x45, 0x58, 0xfd, 0x33, 0x98, 0x2f, 0x00, 0x36, 0x06, 0x39, 0xa1, 0xc8, 0x39, 0x39,
  692. 0xce, 0x38, 0x8b, 0x3b, 0xe5, 0x92, 0xd8, 0x0c, 0x46, 0x52, 0x38, 0xc6, 0x30, 0x1b, 0x79, 0x93,
  693. 0x1d, 0x77, 0x3c, 0xe0, 0xfe, 0x02, 0xc7, 0x7b, 0xc0, 0x5d, 0x2b, 0x19, 0x8c, 0x35, 0x2f, 0xb0,
  694. 0x83, 0x74, 0x67, 0x76, 0x0a, 0xb1, 0x7d, 0xe6, 0x8d, 0xbc, 0x45, 0x07, 0x1a, 0x66, 0x53, 0x2b,
  695. 0x5c, 0xcb, 0x5b, 0x64, 0x73, 0x88, 0x1a, 0xe2, 0x86, 0x1c, 0x69, 0x98, 0xf9, 0xc0, 0x9a, 0xc6,
  696. 0x5a, 0x38, 0xca, 0x30, 0xb3, 0xc7, 0x1d, 0x46, 0xd4, 0x63, 0xa4, 0x1f, 0xe1, 0xf1, 0x61, 0x7e,
  697. 0x5d, 0xb6, 0xf6, 0x67, 0xa4, 0x88, 0x97, 0x5d, 0x7a, 0x1f, 0xf4, 0x9e, 0x46, 0x07, 0x9e, 0x5e,
  698. 0xc1, 0xb8, 0x94, 0x8d, 0xcd, 0x1a, 0x2e, 0xff, 0x7f, 0xfd, 0x64, 0xe5, 0x26, 0x74, 0x35, 0x6c,
  699. 0x58, 0xe6, 0x3e, 0x49, 0x7f, 0x04, 0x70, 0x72, 0xdd, 0x36, 0x84, 0xd5, 0x43, 0x9c, 0xda, 0x53,
  700. 0x88, 0x0b, 0x6e, 0x04, 0xd6, 0x79, 0xdf, 0xd4, 0xa9, 0x17, 0xae, 0xee, 0x6f, 0xed, 0x09, 0x1c,
  701. 0x0f, 0x89, 0xed, 0x44, 0xff, 0x0c, 0xe0, 0x51, 0xaf, 0x3e, 0xe4, 0x81, 0x1e, 0x94, 0x24, 0xbe,
  702. 0xb7, 0x24, 0x30, 0x28, 0xc9, 0xd7, 0x00, 0x8e, 0x7a, 0xfa, 0xbf, 0x3e, 0xed, 0x03, 0x8b, 0xd1,
  703. 0x1d, 0x8b, 0xbf, 0x15, 0x20, 0x15, 0x30, 0x3b, 0xf0, 0xf6, 0x67, 0x9b, 0xb0, 0x1c, 0x6c, 0xc2,
  704. 0xbc, 0xdb, 0x84, 0x41, 0xa3, 0xfd, 0x22, 0xbc, 0x5d, 0x7c, 0x78, 0xb9, 0xbb, 0xdc, 0xcf, 0xb8,
  705. 0xd6, 0x25, 0x12, 0x9e, 0x15, 0x9c, 0xf0, 0x33, 0x6f, 0xcf, 0xf5, 0xfa, 0xfc, 0xe6, 0x62, 0x3d,
  706. 0x71, 0xf7, 0xfd, 0x9b, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x9e, 0x10, 0x1d, 0x05, 0x06,
  707. 0x00, 0x00,
  708. }