oms-Purchase/OrderSuggestion/OrderSuggestionComparisonDurationType.php

35 lines
774 B
PHP
Executable File

<?php
/**
* Karaka
*
* PHP Version 8.1
*
* @package Modules\Purchase\OrderSuggestion
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace Modules\Purchase\OrderSuggestion;
use phpOMS\Stdlib\Base\Enum;
/**
* Suggestion type enum.
*
* @package Modules\Purchase\OrderSuggestion
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
abstract class OrderSuggestionComparisonDurationType extends Enum
{
public const ANNUALY = 1;
public const MONTHLY = 2; // The basis is every month, the different months are considered the same
public const MONTHLY_ANNUAL = 3; // The basis is the same month, e.g. helpful for seasonal data
}