<?php
/**
 * BookiFlex Core
 *
 * @package    BookiFlex
 * @subpackage Core
 * @author     BookiFlex
 * @copyright  Copyright (c) 2025 BookiFlex
 * @license    GPL-2.0-or-later
 *
 * @link       https://bookiflex.com
 */

declare(strict_types=1);

namespace BookiFlex\Core\Repository;

use BookiFlex\Core\Admin\CPT\CancellationPolicy as CancellationPolicyCPT;
use BookiFlex\Core\Model\CancellationPolicy\CancellationPolicy;

defined( 'ABSPATH' ) || exit;

/**
 * The repository for cancellation policies.
 * The system needs to be based on a limited number of cancellation policies.
 * These policies will be specified in the system settings. For example, 3 cancellation policies will be offered,
 * where you can specify the penalty percentage and the number of days before check-in when the penalty takes effect.
 *
 * Flexible and configurable policies will be available in the extended version.
 */
class CancellationPolicyRepository extends BaseCPTRepository
{
    protected static string $postType = CancellationPolicyCPT::POST_TYPE;
    protected static string $class    = CancellationPolicy::class;
}
