aboutsummaryrefslogtreecommitdiff
path: root/csharp/TestBed/slownwind.proto
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/TestBed/slownwind.proto')
-rw-r--r--csharp/TestBed/slownwind.proto36
1 files changed, 36 insertions, 0 deletions
diff --git a/csharp/TestBed/slownwind.proto b/csharp/TestBed/slownwind.proto
new file mode 100644
index 00000000..907d7979
--- /dev/null
+++ b/csharp/TestBed/slownwind.proto
@@ -0,0 +1,36 @@
+package slownorthwind;
+
+option csharp_namespace = "SlowNorthwind";
+option csharp_file_classname = "SlowNorthwindProtoFile";
+
+import "slowbcl.proto";
+
+message Database {
+ repeated Order Orders = 1;
+}
+
+message Order {
+ optional int32 OrderID = 1;
+ optional string CustomerID = 2;
+ optional int32 EmployeeID = 3;
+ optional slowbcl.DateTime OrderDate = 4;
+ optional slowbcl.DateTime RequiredDate = 5;
+ optional slowbcl.DateTime ShippedDate = 6;
+ optional int32 ShipVia = 7;
+ optional slowbcl.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 slowbcl.Decimal UnitPrice = 3;
+ optional sint32 Quantity = 4;
+ optional float Discount = 5;
+}