feat:额外收费

This commit is contained in:
dzc committed 2026-03-26 11:04:13 +08:00
1 parent 2b956342f4
commit e730b6923c
17 files changed
+461 -153

No files matched your search

+18
View File
@@ -56,4 +56,22 @@ abstract class JsonTool {
if (value == null) return null;
return value.toString();
}
static DiscountsType? stringToDiscountsType(String? value) {
return DiscountsType.values.fromCode(value);
}
static String? discountsTypeToString(DiscountsType? value) {
if (value == null) return null;
return value.toString();
}
static ProductHourType? stringToProductHourType(String? value) {
return ProductHourType.values.fromCode(value);
}
static String? productHourTypeToString(ProductHourType? value) {
if (value == null) return null;
return value.toString();
}
}