<?php

namespace App\Models\KetentuanUmum;

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

class KetentuanUmum extends Model
{
    use HasFactory;

    protected $table = "ketentuan_umum";

    protected $hidden = [
        'created_at',
        'updated_at',
        'deleted_at',
    ];

    protected $fillable = [
        'konten'
    ];

    // public function getKontenAttribute($value)
    // {
    //     return !empty($value) ? base64_encode($value) : null;
    // }

}
