| 1 | <?php |
||
| 10 | class Coach extends DsManagerOrm |
||
| 11 | {
|
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $table = 'coaches'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | protected $fillable = [ |
||
| 21 | 'name', |
||
| 22 | 'surname', |
||
| 23 | 'age', |
||
| 24 | 'nationality', |
||
| 25 | 'skillAvg', |
||
| 26 | 'wageReq', |
||
| 27 | 'favouriteModule', |
||
| 28 | 'team_id' |
||
| 29 | ]; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 33 | */ |
||
| 34 | public function team() |
||
| 38 | |||
| 39 | } |