<?php

namespace App\Models\Estimates;

use App\Enums\EstimateStatus;
use Illuminate\Database\Eloquent\Model;

/**
 * @mixin IdeHelperMainRequestEstimate
 */
class MainRequestEstimate extends Model
{
    protected $table = 'main_request_estimates';

    protected $casts = [
        'status_code' => EstimateStatus::class,
    ];

    protected $fillable = [
        'main_request_id',
        'estimate_no',
        // ... 기타 필드
        'status_code',
    ];

    // 관계 메서드 등 추가
}
