.proto文件例子

.proto文件例子

// Filename: tables.proto
//optional required

syntax="proto2";
package tables;

message Goods {
optional string goodsid = 1;
optional string goodsname = 2;
}

message Units {
optional string unitid = 1;
optional string unitname = 2;
}

message Tables {
repeated Goods GoodsArr = 1;
repeated Units UnitsArr = 2;
}

message UpFile {
optional string filename = 1;
optional bytes filecontent = 2;
}

  

posted @ 2021-08-05 10:34  delphi中间件  阅读(139)  评论(0编辑  收藏  举报