chart_setting.proto 1.0 KB

syntax = "proto3";

option go_package ="./pb";

package pb;

message ChartSettingGetReq {
   int64 Id = 1;
}
message ChartSettingGetResp{
    ChartSettingItem User = 1;
}

message ChartSettingSaveReq {

}
message ChartSettingSaveResp{

}

message ChartSettingDeleteReq {
  int64 Id = 1;
}
message ChartSettingDeleteResp{

}

message ChartSettingUpdateReq {
  int64 Id = 1;
}
message ChartSettingUpdateResp{

}

message ChartSettingSearchReq {
  int64 PageNumber = 1;
  int64 PageSize = 2;
}
message ChartSettingSearchResp{
  repeated ChartSettingItem List =1;
  int64  Total =2;
}
message ChartSettingItem {

}

service ChartSettingService {
  rpc ChartSettingGet(ChartSettingGetReq) returns(ChartSettingGetResp);
  rpc ChartSettingSave(ChartSettingSaveReq) returns(ChartSettingSaveResp);
  rpc ChartSettingDelete(ChartSettingDeleteReq) returns(ChartSettingDeleteResp);
  rpc ChartSettingUpdate(ChartSettingUpdateReq) returns(ChartSettingUpdateResp);
  rpc ChartSettingSearch(ChartSettingSearchReq) returns(ChartSettingSearchResp);
}