<?php

namespace ModulesGarden\ProxmoxAddon\Core\Models\Whmcs;

use \Illuminate\Database\Eloquent\Model as EloquentModel;

class Credit extends EloquentModel
{
    /**
     * Table name
     *
     * @var string
     */
    protected $table      = 'tblcredit';
    protected $primaryKey = 'id';

    /**
     * Eloquent guarded parameters
     * @var array
     */
    protected $guarded = ['id'];

    /**
     * Eloquent fillable parameters
     * @var array
     */
    protected $fillable = ['clientid', 'date', 'description', 'amount', 'relid'];

    /**
     * The attributes that should be mutated to dates.
     *
     * @var array
     */
    protected $dates = ['date'];

    /**
     * Indicates if the model should soft delete.
     *
     * @var bool
     */
    protected $softDelete = false;

    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;
}
