12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-applete-gateway/pb/v1";
- message CompanyLogAddRequest {
- int64 uid = 1;
- string action = 2;
- string origin = 3;
- string target = 4;
- string username = 5;
- int64 cid = 6;
- int64 timestamp = 7;
- string module = 8;
- }
- message CompanyLogAddReply {
- }
- message CompanyLogItem {
- int64 uid = 1;
- string action = 2;
- string origin = 3;
- string target = 4;
- string username = 5;
- int64 cid = 6;
- string created_at = 7;
- int64 id = 8;
- string module = 9;
- }
- message CompanyLogRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 start = 3;
- int64 end = 4;
- int64 cid = 5;
- }
- message CompanyLogReply {
- int64 total = 1;
- int64 page = 2;
- repeated CompanyLogItem list = 3;
- }
- message SystemLogAddRequest {
- int64 uid = 1;
- string action = 2;
- string origin = 3;
- string target = 4;
- string username = 5;
- int64 cid = 6;
- int64 timestamp = 7;
- int64 garden_id = 8;
- string module = 9;
- }
- message SystemLogAddReply {
- }
- message SystemLogItem {
- int64 uid = 1;
- string action = 2;
- string origin = 3;
- string target = 4;
- string username = 5;
- int64 cid = 6;
- string created_at = 7;
- int64 id = 8;
- int64 garden_id = 9;
- string module = 10;
- }
- message SystemLogRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 start = 3;
- int64 end = 4;
- int64 garden_id = 5;
- int64 cid = 6;
- }
- message SystemLogReply {
- int64 total = 1;
- int64 page = 2;
- repeated SystemLogItem list = 3;
- }
|