Nextrek
Diff Revisions
659
vs
660
for /Android/SmartCharging/SmartCharging_WP/SmartCharging/DataModel/Site.cs
|
@@ -10,19 +10,37 @@ |
10 |
10 |
|
|
11 |
11 |
|
namespace SmartCharging.DataModel |
12 |
12 |
|
{ |
|
13 |
+ |
|
|
14 |
+ |
|
13 |
15 |
|
class Site |
14 |
16 |
|
{ |
15 |
17 |
|
public string Id { get; set; } |
16 |
|
- |
public int Type { get; set; } |
17 |
|
- |
public string TypeLabel { get; set; } |
|
18 |
+ |
public string OwnerId { get; set; } |
|
19 |
+ |
public string OwnerName { get; set; } |
|
20 |
+ |
public SiteType Type { get; set; } |
18 |
21 |
|
public Geopoint Position { get; set; } |
19 |
22 |
|
public int Chargers { get; set; } |
|
23 |
+ |
public double Rating { get; set; } |
20 |
24 |
|
public string Name { get; set; } |
21 |
25 |
|
public string Description { get; set; } |
22 |
26 |
|
public string Address { get; set; } |
23 |
27 |
|
public string IconImageUrl { get; set; } |
24 |
28 |
|
public List<string> SiteImageUrls { get; set; } |
25 |
29 |
|
public Point NormalizedPoint { get; set; } |
|
30 |
+ |
public string PhoneNumber{get;set;} |
|
31 |
+ |
public string Email{get;set;} |
|
32 |
+ |
public string WebSite{get;set;} |
26 |
33 |
|
public ObservableCollection<Review> ReviewList { get; set; } |
|
34 |
+ |
|
|
35 |
+ |
|
|
36 |
+ |
|
|
37 |
+ |
} |
|
38 |
+ |
|
|
39 |
+ |
class SiteType |
|
40 |
+ |
{ |
|
41 |
+ |
public string Id { get; set; } |
|
42 |
+ |
public string Label { get; set; } |
|
43 |
+ |
|
|
44 |
+ |
|
27 |
45 |
|
} |
28 |
46 |
|
} |