Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| TeamShiftDetail | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| shift | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| <?php | |
| namespace App\Models\Admin; | |
| use Illuminate\Database\Eloquent\Model; | |
| class TeamShiftDetail extends Model | |
| { | |
| public $table ='team_shift_details'; | |
| public function shift() { | |
| return $this->hasOne(Shift::class, 'id', 'shift_id' )->where('deleted_at', NULL); | |
| } | |
| } |