feat(pricing): 优惠券增加有效期时间范围功能

- 在VoucherBatchCreateReqV2、VoucherBatchResp、VoucherInfo 和 PriceVoucherBatchConfig 类中添加有效期开始时间和结束时间字段
- 实现有效期时间范围的验证和检查逻辑
- 更新 VoucherBatchServiceImpl 和 VoucherServiceImpl 以支持有效期时间范围功能
This commit is contained in:
2025-09-16 23:49:39 +08:00
parent 1506ae95b8
commit 6006fe460c
6 changed files with 132 additions and 2 deletions

View File

@@ -30,4 +30,14 @@ public class VoucherBatchResp {
* null表示适用所有商品类型
*/
private List<ProductType> applicableProducts;
/**
* 有效期开始时间
*/
private Date validStartTime;
/**
* 有效期结束时间
*/
private Date validEndTime;
}