<?php

namespace App\Models;

use CodeIgniter\Model;

class RiwayatPerubahanModel extends Model
{
    protected $table            = 'tabel_history_revisi_order';
    protected $primaryKey       = 'id_history_revisi_order';
    protected $useAutoIncrement = true;
    protected $returnType       = 'object';
    protected $allowedFields    = [
        'id_detail_order',
        'tanggal_permintaan_revisi',
        'keterangan_permintaan_revisi',
        'status',
        'tipe_revisi',
        'biaya_revisi',
        'tgl_diterima_pegawai'
    ];

    protected $useTimestamps = true;
    protected $createdField  = 'created_at';
    protected $updatedField  = 'updated_at';
}
