mirror of
https://github.com/Karaka-Management/oms-Purchase.git
synced 2026-01-11 15:48:41 +00:00
Automated formatting changes
This commit is contained in:
parent
7ac1d67115
commit
13555d5a76
|
|
@ -25,82 +25,82 @@ namespace Modules\Purchase\OrderSuggestion;
|
|||
final class DefaultOrderSuggestion implements OrderSuggestionInterface
|
||||
{
|
||||
/**
|
||||
* Which data should be used to create the order suggestion?
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
* Which data should be used to create the order suggestion?
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int $suggestionType = OrderSuggestionType::HISTORIC;
|
||||
|
||||
/**
|
||||
* Comparison duration type.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
* Comparison duration type.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int $historicComparisonDurationType = OrderSuggestionComparisonDurationType::ANNUAL;
|
||||
|
||||
/**
|
||||
* How many years should used for the analysis.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
* How many years should used for the analysis.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int $historicComparisonDuration = 1;
|
||||
|
||||
/**
|
||||
* Which averaging method should be used?
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
* Which averaging method should be used?
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int $historicAveragingMethod = OrderSuggestionAveragingMethod::MEAN;
|
||||
|
||||
/**
|
||||
* What should the focus of the order suggestion be?
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
* What should the focus of the order suggestion be?
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int $optimizationType = OrderSuggestionOptimizationType::PRICE;
|
||||
|
||||
/**
|
||||
* How greedy should the algorithm be?
|
||||
*
|
||||
* The number represents how many items in % can be bought in additon to the optimal stock quantity.
|
||||
*
|
||||
* Higher means more room for adjustments.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
* How greedy should the algorithm be?
|
||||
*
|
||||
* The number represents how many items in % can be bought in additon to the optimal stock quantity.
|
||||
*
|
||||
* Higher means more room for adjustments.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int $optimizationGreediness = 10;
|
||||
|
||||
/**
|
||||
* For how many days would you like to have stock?
|
||||
*
|
||||
* Or in other words, higher means you need to order less often per year.
|
||||
*
|
||||
* Only relevant if OptimizationType::AVAILABILITY
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
* For how many days would you like to have stock?
|
||||
*
|
||||
* Or in other words, higher means you need to order less often per year.
|
||||
*
|
||||
* Only relevant if OptimizationType::AVAILABILITY
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int $optimizationDays = 0;
|
||||
|
||||
/**
|
||||
* Maximum available budget.
|
||||
*
|
||||
* 0 = infinite budget
|
||||
*
|
||||
* If a budget is defined and the optimal order is > than the available budget,
|
||||
* the algorithm will try to order as many different items as possible.
|
||||
*
|
||||
* If not all items can be ordered will try to order the items with the highest profit.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
* Maximum available budget.
|
||||
*
|
||||
* 0 = infinite budget
|
||||
*
|
||||
* If a budget is defined and the optimal order is > than the available budget,
|
||||
* the algorithm will try to order as many different items as possible.
|
||||
*
|
||||
* If not all items can be ordered will try to order the items with the highest profit.
|
||||
*
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public int $maxAvailableBudget = 0;
|
||||
|
||||
/**
|
||||
|
|
@ -117,4 +117,4 @@ final class DefaultOrderSuggestion implements OrderSuggestionInterface
|
|||
* avg. profit
|
||||
* demand in period N
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user