<?php

namespace App\Models;

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

class OngkirKota extends Model
{
    use HasFactory, SoftDeletes;

    protected $table = 'ongkir_kota';
    
    protected $fillable = [
        'nama_kota',
        'biaya_ongkir',
        'status'
    ];

    protected $casts = [
        'biaya_ongkir' => 'decimal:2',
        'status' => 'boolean'
    ];
} 