household.proto 537 B

1234567891011121314151617181920212223242526272829303132
  1. syntax = "proto3";
  2. // package声明符,用来防止不同的消息类型有命名冲突
  3. package pb_v1;
  4. // 用于生成指定语言go的包名称
  5. option go_package = "property-system/pb/v1";
  6. message HouseholdGardenNameChangeRequest {
  7. int64 garden_id = 1;
  8. string garden_name = 2;
  9. }
  10. message HouseholdGardenNameChangeReply {
  11. }
  12. message HouseholdRefuseRequest {
  13. int64 house_id = 1;
  14. int64 garden_id = 2;
  15. int64 unit_id = 3;
  16. int64 building_id = 4;
  17. string feedback = 5;
  18. }
  19. message HouseholdRefuseReply {
  20. }