<?php

namespace App;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Dyrynda\Database\Support\CascadeSoftDeletes;
use Illuminate\Database\Eloquent\SoftDeletes;
use Route;

class Unor extends Model
{
    use HasFactory, SoftDeletes, CascadeSoftDeletes;
   
    protected $cascadeDeletes = [ 'perda_id','nama', 'parent_id','skpd_id', 'kode_unit', 'singkatan','detail', 'unor_lama'];

    protected $dates = ['deleted_at'];

    protected $fillable = [
        'perda_id','nama', 'parent_id','skpd_id', 'kode_unit', 'singkatan','detail', 'unor_lama'
    ];
}
