12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-household-gateway/pb/v1";
- message ServicePhoneClassListRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 garden_id = 3;
- int32 enable = 4;
- }
- message ServicePhoneClassItem {
- int64 id = 1;
- string class_name = 2;
- bool enable = 3;
- }
- message ServicePhoneClassListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ServicePhoneClassItem list = 3;
- }
- message ServicePhoneListRequest {
- int64 page = 1;
- int64 page_size = 2;
- int64 garden_id = 3;
- int32 enable = 4;
- string class_name = 5;
- int64 class_id = 6;
- }
- message ServicePhoneItem {
- int64 id = 1;
- int64 class_id = 2;
- bool enable = 3;
- string name = 4;
- string phone = 5;
- string class_name = 6;
- }
- message ServicePhoneListReply {
- int64 page = 1;
- int64 total = 2;
- repeated ServicePhoneItem list = 3;
- }
|