<?php

namespace App\Models;

class DiningAreaModel extends TenantModel
{
    protected $table            = 'dining_areas';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'object';
    protected $useTimestamps    = true;

    protected $allowedFields = ['name', 'description'];

    protected $validationRules = [
        'name' => 'required|max_length[100]',
    ];
}
