.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; }
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/15102194.html