aboutsummaryrefslogtreecommitdiff
path: root/csharp/TestBed/nwind.proto
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/TestBed/nwind.proto')
-rw-r--r--csharp/TestBed/nwind.proto38
1 files changed, 38 insertions, 0 deletions
diff --git a/csharp/TestBed/nwind.proto b/csharp/TestBed/nwind.proto
new file mode 100644
index 00000000..3b6eebb1
--- /dev/null
+++ b/csharp/TestBed/nwind.proto
@@ -0,0 +1,38 @@
+package northwind;
+
+option csharp_namespace = "Northwind";
+option csharp_file_classname = "NorthwindProtoFile";
+
+option optimize_for = SPEED;
+
+import "bcl.proto";
+
+message Database {
+ repeated Order Orders = 1;
+}
+
+message Order {
+ optional int32 OrderID = 1;
+ optional string CustomerID = 2;
+ optional int32 EmployeeID = 3;
+ optional bcl.DateTime OrderDate = 4;
+ optional bcl.DateTime RequiredDate = 5;
+ optional bcl.DateTime ShippedDate = 6;
+ optional int32 ShipVia = 7;
+ optional bcl.Decimal Freight = 8;
+ optional string ShipName = 9;
+ optional string ShipAddress = 10;
+ optional string ShipCity = 11;
+ optional string ShipRegion = 12;
+ optional string ShipPostalCode = 13;
+ optional string ShipCountry = 14;
+ repeated OrderLine Lines = 15;
+}
+
+message OrderLine {
+ optional int32 OrderID = 1;
+ optional int32 ProductID = 2;
+ optional bcl.Decimal UnitPrice = 3;
+ optional sint32 Quantity = 4;
+ optional float Discount = 5;
+}