property_log.pb.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  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. // 479 bytes of a gzipped FileDescriptorProto
  677. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x94, 0xcf, 0x6e, 0xd3, 0x40,
  678. 0x10, 0xc6, 0xe5, 0x38, 0x0e, 0xf1, 0x20, 0x42, 0xbb, 0x0d, 0xc8, 0xa2, 0x80, 0x22, 0x9f, 0xc2,
  679. 0xa1, 0xa9, 0x0a, 0x4f, 0x50, 0x38, 0x55, 0xe2, 0xe4, 0xde, 0xb8, 0x58, 0x1b, 0xef, 0x60, 0xad,
  680. 0x64, 0x7b, 0x17, 0x7b, 0x52, 0xe4, 0x1e, 0x78, 0x10, 0x9e, 0x8b, 0x3b, 0xaf, 0xc0, 0x9d, 0x0b,
  681. 0xda, 0x5d, 0xc7, 0x89, 0x8b, 0x7a, 0xe0, 0x80, 0xd4, 0x9c, 0xbc, 0xf3, 0xd9, 0xf2, 0x7c, 0xbf,
  682. 0xf9, 0xb3, 0xc0, 0x74, 0xad, 0x34, 0xd6, 0xd4, 0xa6, 0x85, 0xca, 0x57, 0xba, 0x56, 0xa4, 0x58,
  683. 0xa0, 0xd7, 0xe9, 0xcd, 0x45, 0xfc, 0xc3, 0x83, 0xf9, 0x07, 0x55, 0x6a, 0x5e, 0xb5, 0x1f, 0x55,
  684. 0x7e, 0x29, 0x44, 0x82, 0x5f, 0x36, 0xd8, 0x10, 0x3b, 0x02, 0x7f, 0x23, 0x45, 0xe4, 0x2d, 0xbc,
  685. 0xa5, 0x9f, 0x98, 0x23, 0x7b, 0x0e, 0x13, 0x9e, 0x91, 0x54, 0x55, 0x34, 0x5a, 0x78, 0xcb, 0x30,
  686. 0xe9, 0x22, 0xa3, 0xab, 0x5a, 0xe6, 0xb2, 0x8a, 0x7c, 0xa7, 0xbb, 0xc8, 0xe8, 0xc4, 0xeb, 0x1c,
  687. 0x29, 0x1a, 0x3b, 0xdd, 0x45, 0xec, 0x05, 0x4c, 0x37, 0x0d, 0xd6, 0x15, 0x2f, 0x31, 0x0a, 0xec,
  688. 0x9b, 0x3e, 0x36, 0x59, 0x33, 0x29, 0xa2, 0x89, 0xcb, 0x9a, 0x49, 0xc1, 0x5e, 0x42, 0x48, 0xb2,
  689. 0xc4, 0x86, 0x78, 0xa9, 0xa3, 0x47, 0x56, 0xdf, 0x09, 0x26, 0x47, 0xa9, 0xc4, 0xa6, 0xc0, 0x68,
  690. 0xea, 0x72, 0xb8, 0x28, 0x9e, 0x03, 0xbb, 0x43, 0xa5, 0x8b, 0x36, 0xfe, 0xe9, 0xc1, 0x6c, 0x27,
  691. 0x5f, 0x11, 0x96, 0x0f, 0x06, 0xf3, 0x15, 0x40, 0x56, 0x23, 0x27, 0x14, 0x29, 0x27, 0xcb, 0x19,
  692. 0x26, 0x61, 0xa7, 0x5c, 0x12, 0x9b, 0xc1, 0x48, 0x0a, 0xcb, 0xe8, 0x27, 0x23, 0x67, 0xb2, 0xe3,
  693. 0x0e, 0x07, 0xdc, 0xdf, 0xe0, 0x78, 0x07, 0xb8, 0x6d, 0x25, 0x83, 0xb1, 0xe6, 0x39, 0x76, 0x90,
  694. 0xf6, 0xcc, 0x4e, 0x21, 0x34, 0xcf, 0xb4, 0x91, 0xb7, 0x68, 0x41, 0xfd, 0x64, 0x6a, 0x84, 0x6b,
  695. 0x79, 0x8b, 0x6c, 0x0e, 0x41, 0x43, 0xbc, 0x26, 0x4b, 0xea, 0x27, 0x2e, 0x30, 0xa6, 0xb1, 0x12,
  696. 0x96, 0xd2, 0x4f, 0xcc, 0x71, 0x8b, 0x11, 0xf4, 0x18, 0xf1, 0x67, 0x78, 0xba, 0x9f, 0x5f, 0x17,
  697. 0xad, 0xf9, 0x19, 0x29, 0xe2, 0x45, 0x97, 0xde, 0x05, 0xbd, 0xa7, 0xd1, 0x9e, 0xa7, 0x37, 0x30,
  698. 0x2e, 0x64, 0x63, 0xb2, 0xfa, 0xcb, 0xc7, 0x6f, 0x9f, 0xad, 0xec, 0x84, 0xae, 0x86, 0x0d, 0x4b,
  699. 0xec, 0x27, 0xf1, 0x2f, 0x0f, 0x4e, 0xae, 0xdb, 0x86, 0xb0, 0x3c, 0xc4, 0xa9, 0x3d, 0x85, 0x30,
  700. 0xe7, 0xb5, 0xc0, 0x2a, 0xed, 0x9b, 0x3a, 0x75, 0xc2, 0xd5, 0xfd, 0xad, 0x3d, 0x81, 0xe3, 0x21,
  701. 0xb1, 0x99, 0xe8, 0xdf, 0x1e, 0x3c, 0xe9, 0xd5, 0x43, 0x1e, 0xe8, 0x41, 0x49, 0xc2, 0x7b, 0x4b,
  702. 0x02, 0x83, 0x92, 0x7c, 0xf7, 0xe0, 0xa8, 0xa7, 0xff, 0xef, 0xd3, 0x3e, 0xb0, 0x18, 0xdc, 0xb1,
  703. 0xf8, 0x57, 0x01, 0x62, 0x01, 0xb3, 0x3d, 0x6f, 0xff, 0xb6, 0x09, 0xcb, 0xc1, 0x26, 0xcc, 0xbb,
  704. 0x4d, 0x18, 0x34, 0xda, 0x2d, 0xc2, 0xfb, 0xc5, 0xa7, 0xd7, 0xdb, 0xcb, 0xfd, 0x2c, 0x73, 0x9b,
  705. 0x72, 0x96, 0x73, 0xc2, 0xaf, 0xbc, 0x3d, 0xd7, 0xeb, 0xf3, 0x9b, 0x8b, 0xf5, 0xc4, 0xde, 0xf7,
  706. 0xef, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x23, 0xaa, 0x45, 0x01, 0x05, 0x06, 0x00, 0x00,
  707. }