Total Complexity | 1 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class Pick { |
||
12 | public function __construct() { |
||
13 | //Leaving this here in case further init needs to occur |
||
14 | } |
||
15 | |||
16 | /** @var int */ |
||
17 | public $player_id; |
||
18 | |||
19 | /** @var int The ID of the manager this player belongs to */ |
||
20 | public $manager_id; |
||
21 | |||
22 | /** @var int The ID of the draft this player belongs to */ |
||
23 | public $draft_id; |
||
24 | |||
25 | /** @var string */ |
||
26 | public $first_name; |
||
27 | |||
28 | /** @var string */ |
||
29 | public $last_name; |
||
30 | |||
31 | /** @var string The professional team the player plays for. Stored as three character abbreviation */ |
||
32 | public $team; |
||
33 | |||
34 | /** @var string The position the player plays. Stored as one to three character abbreviation. */ |
||
35 | public $position; |
||
36 | |||
37 | /** @var int The counter value indicating in what order this pick was edited in relation to the entire draft */ |
||
38 | public $player_counter; |
||
39 | |||
40 | /** @var string Timestamp of when the player was picked. Use strtotime to convert for comparisons, NULL for undrafted */ |
||
41 | public $pick_time; |
||
42 | |||
43 | /** @var int Amount of seconds that were consumed during this pick since previous pick */ |
||
44 | public $pick_duration; |
||
45 | |||
46 | /** @var int Round the player was selected in */ |
||
47 | public $player_round; |
||
48 | |||
49 | /** @var int Pick the player was selected at */ |
||
50 | public $player_pick; |
||
51 | |||
52 | /** @var int Depth Chart Position Id FK to the depth chart position table */ |
||
53 | public $depth_chart_position_id; |
||
54 | } |