<?php #CodeGenerator V4 Δ b5e8b99c07822353877007cab1f675f2 Δ DYNAMICALLY GENERATED FILE - Do not modify this line! Remove it completely to protect the file from changes.
/**
 * Policy Class
 *
 * @version     1.0.$Revision:$
 * @version     SVN: $Id:$
 * @version     STUB: 1.0.0
 * @generated   2026-03-23 09:16:48
 * @package     bplan-base/globals
 * @subpackage  Policies
 * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025, 2026 bplan-solutions GmbH & Co. KG <https://www.bplan-solutions.de/>
 * /Δ\
 */

namespace BplanBase\Globals\Policies;


use BplanBase\Globals\Models\TenantRecord;
use BplanBase\Globals\Models\User;
use Illuminate\Auth\Access\Response;


/**
 * Policy Class
 *
 * @version     1.0.0 / 2026-03-23
 * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 */
class TenantRecordPolicy
{


/* +++ TRAITS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS CONSTANTS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ OBJECT MEMBERS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS MEMBERS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ OBJECT METHODS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++ */


    /**
     * Determine whether the user can create models.
     *
     * @param       User $AuthUser
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function create(User $AuthUser): bool
    {
        return true;

    } // create()


    /**
     * Determine whether the user can delete the model.
     *
     * @param       User $AuthUser
     *
     * @param       TenantRecord $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function delete(User $AuthUser, TenantRecord $Model): bool
    {
        return true;

    } // delete()


    /**
     * Determine whether the user can permanently delete the model.
     *
     * @param       User $AuthUser
     *
     * @param       TenantRecord $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function forceDelete(User $AuthUser, TenantRecord $Model): bool
    {
        return true;

    } // forceDelete()


    /**
     * Determine whether the user can restore the model.
     *
     * @param       User $AuthUser
     *
     * @param       TenantRecord $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function restore(User $AuthUser, TenantRecord $Model): bool
    {
        return true;

    } // restore()


    /**
     * Determine whether the user can update the model.
     *
     * @param       User $AuthUser
     *
     * @param       TenantRecord $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function update(User $AuthUser, TenantRecord $Model): bool
    {
        return true;

    } // update()


    /**
     * Determine whether the user can view the model.
     *
     * @param       User $AuthUser
     *
     * @param       TenantRecord $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function view(User $AuthUser, TenantRecord $Model): bool
    {
        return true;

    } // view()


    /**
     * Determine whether the user can view any models.
     *
     * @param       User $AuthUser
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewAny(User $AuthUser): bool
    {
        return true;

    } // viewAny()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       TenantRecord $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewCountry(User $AuthUser, TenantRecord $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewCountry()


    /**
     *
     * @param       User $AuthUser
     *
     * @param       TenantRecord $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-03-23
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewId(User $AuthUser, TenantRecord $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewId()


/* +++ CLASS METHODS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++++ */


} // class TenantRecordPolicy {}
