Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| ClientGestionaResponse | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| client | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Models; |
| 4 | |
| 5 | use Illuminate\Database\Eloquent\Model; |
| 6 | |
| 7 | class ClientGestionaResponse extends Model |
| 8 | { |
| 9 | protected $table = 'tbl_client_gestiona_responses'; |
| 10 | |
| 11 | protected $fillable = [ |
| 12 | 'client_id', |
| 13 | 'gestiona_client_code', |
| 14 | 'raw_response', |
| 15 | ]; |
| 16 | |
| 17 | protected $casts = [ |
| 18 | 'raw_response' => 'array', |
| 19 | ]; |
| 20 | |
| 21 | public function client() |
| 22 | { |
| 23 | return $this->belongsTo(Client::class, 'client_id'); |
| 24 | } |
| 25 | } |