22 lines
425 B
PHP
22 lines
425 B
PHP
<?php
|
|
|
|
namespace Modules\DailyReports\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
class DailyReportIssue extends Model
|
|
{
|
|
protected $fillable = [
|
|
'daily_report_id',
|
|
'issue_type',
|
|
'description',
|
|
'delay_impact',
|
|
];
|
|
|
|
public function dailyReport(): BelongsTo
|
|
{
|
|
return $this->belongsTo(DailyReport::class);
|
|
}
|
|
}
|