123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- syntax = "proto3";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb_v1;
- // 用于生成指定语言go的包名称
- option go_package = "property-applete-gateway/pb/v1";
- message HouseRentAddManagerRequest {
- int64 garden_id = 1;
- int64 manager_uid = 2;
- int64 rent_id = 3;
- }
- message HouseRentAddManagerReply {
- int64 id = 1;
- }
- message HouseRentDelManagerRequest {
- int64 garden_id = 1;
- int64 id = 2;
- }
- message HouseRentDelManagerReply {
- }
- message HouseRentManagerListRequest {
- int64 garden_id = 1;
- int64 rent_id = 4;
- }
- message HouseRentManagerItem {
- int64 id = 1;
- int64 manager_uid = 2;
- // 姓名
- string name = 3;
- string phone = 4;
- // 账号
- string user_name = 5;
- }
- message HouseRentManagerListReply {
- repeated HouseRentManagerItem list = 1;
- }
- message HouseRentAppointmentAddRequest {
- int64 garden_id = 1;
- int64 uid = 2;
- int64 rent_id = 3;
- string name = 4;
- string phone = 5;
- int32 gender = 6;
- int64 appointment_time = 7;
- }
- message HouseRentAppointmentAddReply {
- int64 id = 1;
- }
- message HouseRentAppointmentDelRequest {
- int64 garden_id = 1;
- int64 id = 2;
- }
- message HouseRentAppointmentDelReply {
- }
- message HouseRentAppointmentListRequest {
- int64 garden_id = 1;
- int64 rent_id = 2;
- int64 uid = 3;
- int64 page = 4;
- int64 page_size = 5;
- string house_name = 6;
- }
- message HouseRentAppointmentItem {
- int64 id = 1;
- int64 uid = 2;
- int64 rent_id = 3;
- string name = 4;
- string phone = 5;
- int32 gender = 6;
- int64 appointment_time = 7;
- string house_name = 8;
- }
- message HouseRentAppointmentListReply {
- int64 page = 1;
- int64 total = 2;
- repeated HouseRentAppointmentItem list = 3;
- }
|