| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | class Course extends BaseModel { |
||
| 29 | |||
| 30 | protected $casts = [ |
||
| 31 | 'name' => 'string', |
||
| 32 | 'institution' => 'string', |
||
| 33 | 'course_status_id' => 'int', |
||
| 34 | 'start_date' => 'date', |
||
| 35 | 'end_date' => 'date', |
||
| 36 | 'appliant_id' => 'int' |
||
| 37 | ]; |
||
| 38 | protected $fillable = [ |
||
| 39 | 'name', |
||
| 40 | 'institution', |
||
| 41 | 'course_status_id', |
||
| 42 | 'start_date', |
||
| 43 | 'end_date' |
||
| 44 | ]; |
||
| 45 | |||
| 46 | public function course_status() { |
||
| 48 | } |
||
| 49 | |||
| 50 | public function applicant() { |
||
| 54 |