mirror of
https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git
synced 2024-11-25 02:24:17 +00:00
[CORE] #12 : Mise à jour des types de champs de statistiques
This commit is contained in:
parent
e87aecf2f9
commit
b609661c03
@ -1,6 +1,8 @@
|
|||||||
package com.pqt.core.common_resources.statistics;
|
package com.pqt.core.common_resources.statistics;
|
||||||
|
|
||||||
public enum StatisticFieldType {
|
public enum StatisticFieldType {
|
||||||
SIMPLE,
|
SIMPLE_NUMBER,
|
||||||
LIST
|
SIMPLE_CURRENCY,
|
||||||
|
LIST,
|
||||||
|
OTHER
|
||||||
}
|
}
|
||||||
|
@ -2,14 +2,14 @@ package com.pqt.core.common_resources.statistics;
|
|||||||
|
|
||||||
public enum StatisticFields {
|
public enum StatisticFields {
|
||||||
|
|
||||||
TOTAL_SALE_WORTH("total_sale_worth", StatisticFieldType.SIMPLE),
|
TOTAL_SALE_WORTH("total_sale_worth", StatisticFieldType.SIMPLE_CURRENCY),
|
||||||
TOTAL_SALE_AMOUNT("total_sale_amount", StatisticFieldType.SIMPLE),
|
TOTAL_SALE_AMOUNT("total_sale_amount", StatisticFieldType.SIMPLE_NUMBER),
|
||||||
TOTAL_MONEY_MADE("total_money_made", StatisticFieldType.SIMPLE),
|
TOTAL_MONEY_MADE("total_money_made", StatisticFieldType.SIMPLE_CURRENCY),
|
||||||
TOP_POPULAR_PRODUCTS("top_popular_products", StatisticFieldType.LIST),
|
TOP_POPULAR_PRODUCTS("top_popular_products", StatisticFieldType.LIST),
|
||||||
STAFF_SALE_WORTH("staff_sale_worth", StatisticFieldType.SIMPLE),
|
STAFF_SALE_WORTH("staff_sale_worth", StatisticFieldType.SIMPLE_CURRENCY),
|
||||||
STAFF_SALE_AMOUNT("staff_sale_amount", StatisticFieldType.SIMPLE),
|
STAFF_SALE_AMOUNT("staff_sale_amount", StatisticFieldType.SIMPLE_NUMBER),
|
||||||
GUEST_SALE_WORTH("guest_sale_worth", StatisticFieldType.SIMPLE),
|
GUEST_SALE_WORTH("guest_sale_worth", StatisticFieldType.SIMPLE_CURRENCY),
|
||||||
GUEST_SALE_AMOUNT("guest_sale_amount", StatisticFieldType.SIMPLE);
|
GUEST_SALE_AMOUNT("guest_sale_amount", StatisticFieldType.SIMPLE_NUMBER);
|
||||||
|
|
||||||
private final String str;
|
private final String str;
|
||||||
private final StatisticFieldType type;
|
private final StatisticFieldType type;
|
||||||
|
Loading…
Reference in New Issue
Block a user