nwind.proto 819 B

12345678910111213141516171819202122232425262728293031
  1. package DAL;
  2. message Database {
  3. repeated Order Orders = 1;
  4. }
  5. message Order {
  6. optional int32 OrderID = 1;
  7. optional string CustomerID = 2;
  8. optional int32 EmployeeID = 3;
  9. optional bcl.DateTime OrderDate = 4;
  10. optional bcl.DateTime RequiredDate = 5;
  11. optional bcl.DateTime ShippedDate = 6;
  12. optional int32 ShipVia = 7;
  13. optional bcl.Decimal Freight = 8;
  14. optional string ShipName = 9;
  15. optional string ShipAddress = 10;
  16. optional string ShipCity = 11;
  17. optional string ShipRegion = 12;
  18. optional string ShipPostalCode = 13;
  19. optional string ShipCountry = 14;
  20. repeated OrderLine Lines = 15;
  21. }
  22. message OrderLine {
  23. optional int32 OrderID = 1;
  24. optional int32 ProductID = 2;
  25. optional bcl.Decimal UnitPrice = 3;
  26. optional sint32 Quantity = 4;
  27. optional float Discount = 5;
  28. }