Support start and end date on prices

This commit is contained in:
Gunnar Skjold
2024-01-06 18:58:50 +01:00
parent bad107926c
commit 48ab87ba50
7 changed files with 130 additions and 54 deletions

View File

@@ -47,13 +47,17 @@ struct PriceConfig {
uint8_t days;
uint32_t hours;
uint8_t type;
uint16_t value;
uint32_t value;
uint8_t start_month;
uint8_t start_dayofmonth;
uint8_t end_month;
uint8_t end_dayofmonth;
};
struct PricePart {
char name[32];
char description[32];
uint16_t value;
uint32_t value;
};
class PriceService {