<?php #CodeGenerator V3 Δ 29049604cb3f38980357915e76a04485 Δ 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-05-27 10:03:40
 * @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\Country;
use BplanBase\Globals\Models\User;
use Illuminate\Auth\Access\Response;


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


/* +++ 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-05-27
     * @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       Country $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-27
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function delete(User $AuthUser, Country $Model): bool
    {
        return true;

    } // delete()


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

    } // forceDelete()


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

    } // restore()


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

    } // update()


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

    } // view()


    /**
     * Determine whether the user can view any models.
     *
     * @param       User $AuthUser
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-27
     * @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       Country $Model
     *
     * @return      bool
     *
     * @version     1.0.0 / 2026-05-27
     * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public function viewTenantRecords(User $AuthUser, Country $Model): bool
    {
        return $this->view($AuthUser, $Model);

    } // viewTenantRecords()


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


} // class CountryPolicy {}
