File: /var/www/ipsremont-demo/app/Models/WorkCompleteCertificateLog.php
<?php
namespace App\Models;
use App\Models\Repair\Repair;
use App\Traits\My;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* @property int $id
* @property int $wcc_id
* @property int $updated_by
* @property int $repair_id
* @property ?string $work_description
* @property string $created_at
* @property string $updated_at
* @property ?string $deleted_at
*
* @property Repair $repair
*/
class WorkCompleteCertificateLog extends BaseModel
{
use SoftDeletes, My;
protected $table = 'work_complete_certificates_log';
protected $fillable = [
'repair_id',
'work_description',
];
public function wcc(): BelongsTo
{
return $this->belongsTo(WorkCompleteCertificate::class);
}
}