1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- syntax = "proto3";
- import "base.proto";
- import "system.proto";
- package com.ywt.gapi.user;
- option java_generic_services = true;
- option java_multiple_files = true;
- option java_package = "com.ywt.gapi.user";
- option go_package = "/doctor";
- message Doctor {
- int32 userid = 1;
- string title = 2;
- string specialty = 3;
- string briefintro = 4;
- int64 createtime = 5;
- int64 updatetime = 6;
- }
- message DoctorInfo{
- int32 doctorid = 1;
- string name = 2;
- string avatar = 3;
- string city = 4;
- string hospital = 5;
- string specialty = 6;
- int32 status = 7;
- string title = 8;
- string dept = 9;
- string hospitalIds = 10;
- string deptIds = 11;
- int32 scheduleStatus = 12;
- int32 consultFee = 13;
- string qrCodeUrl = 14;
- string briefIntro = 15;
- int32 signId = 16;
- string signUrl = 17;
- int32 baseInfoStatus = 18;
- int32 licenseStatus = 19;
- string mobile = 20;
- int32 authType = 21;
- int32 userType = 22;
- string rpContent = 23;
- string rpUrl = 24;
- string avatar2 = 25;
- string rpContentPc = 26;
- string rpUrlPc = 27;
- int32 pharmacyId = 28;
- string pharmacyName = 29;
- }
- message GetDoctorAllRequest {
- int32 doctorId = 1;
- }
- message GetDoctorAllResponse{
- int32 code = 1;
- repeated DoctorInfo doctorInfos = 2;
- }
- service DoctorService {
-
- rpc getDoctorAll (GetDoctorAllRequest) returns (GetDoctorAllResponse);
- }
|