| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class Request extends Model |
||
| 25 | { |
||
| 26 | protected $connection = 'sense'; |
||
| 27 | |||
| 28 | protected $table = 'sense_requests'; |
||
| 29 | |||
| 30 | protected $fillable = [ |
||
| 31 | 'uuid', |
||
| 32 | 'url_id', |
||
| 33 | 'method', |
||
| 34 | ]; |
||
| 35 | |||
| 36 | public function url(): BelongsTo |
||
| 39 | } |
||
| 40 | |||
| 41 | public function summary(): HasOne |
||
| 42 | { |
||
| 43 | return $this->hasOne(RequestSummary::class, 'request_id'); |
||
| 44 | } |
||
| 45 | |||
| 46 | public function statementSummaries(): HasMany |
||
| 49 | } |
||
| 50 | } |
||
| 51 |