<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class OnPremiseRemoval extends Model
{
    use HasFactory;

    protected $table = 'onpremise_removal';

    protected $fillable = [
        'status',
        'rm_status',
        'cp_status',
        'hod_status',
        'billing_status',
        'audit_status',
        'bm_comment',
        'rm_comment',
        'hod_comment',
        'billing_comment',
        'cp_comment',
        'audit_comment',
        'removal_date'
    ];
    
    // protected $casts = [
    //     'number_of_sign' => 'integer',
    // ];

    public function onpremise() {
        return $this->belongsTo(onpremise::class);
    }
}
