Advertisement
AmidamaruZXC

Order

Oct 24th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.80 KB | None | 0 0
  1. using System;
  2. using GeoCoordinatePortable;
  3.  
  4. namespace ConsoleApp1
  5. {
  6.     public class Order
  7.     {
  8.         public long Number
  9.         {
  10.             get;
  11.             set;
  12.         }
  13.  
  14.         public double Weight
  15.         {
  16.             get;
  17.             set;
  18.         }
  19.  
  20.         public DateTime StartTime
  21.         {
  22.             get;
  23.             set;
  24.         } = DateTime.MinValue;
  25.  
  26.         public DateTime EndTime
  27.         {
  28.             get;
  29.             set;
  30.         } = DateTime.MaxValue;
  31.  
  32.         public GeoCoordinate StartPoint
  33.         {
  34.             get;
  35.             set;
  36.         }
  37.  
  38.         public GeoCoordinate EndPoint
  39.         {
  40.             get;
  41.             set;
  42.         }
  43.  
  44.         public long CourierID
  45.         {
  46.             get;
  47.             set;
  48.         } = -1;
  49.     }
  50. }
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement