-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTeam.cs
61 lines (54 loc) · 1.94 KB
/
Team.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using System;
using System.Collections.Generic;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
namespace Mvc.Models {
[Serializable()]
public class Team {
[BsonId]
[JsonIgnore]
public ObjectId mongoId { get; set; }
public int id { get; set; }
public List<CurrentEventFixture> current_event_fixture { get; set; }
public List<NextEventFixture> next_event_fixture { get; set; }
public string name { get; set; }
public int code { get; set; }
public string short_name { get; set; }
public bool unavailable { get; set; }
public int strength { get; set; }
public int position { get; set; }
public int played { get; set; }
public int win { get; set; }
public int loss { get; set; }
public int draw { get; set; }
public int points { get; set; }
public object form { get; set; }
public string link_url { get; set; }
public int strength_overall_home { get; set; }
public int strength_overall_away { get; set; }
public int strength_attack_home { get; set; }
public int strength_attack_away { get; set; }
public int strength_defence_home { get; set; }
public int strength_defence_away { get; set; }
public int team_division { get; set; }
}
public class CurrentEventFixture
{
public bool is_home { get; set; }
public int day { get; set; }
public int event_day { get; set; }
public int month { get; set; }
public int fixtureid { get; set; }
public int opponent { get; set; }
}
public class NextEventFixture
{
public bool is_home { get; set; }
public int day { get; set; }
public int event_day { get; set; }
public int month { get; set; }
public int fixtureid { get; set; }
public int opponent { get; set; }
}
}