From f1ff3a875905e068cf0f0b55b72c344b171c6da0 Mon Sep 17 00:00:00 2001
From: gongzuming <gongzuming>
Date: 星期五, 30 八月 2024 11:00:09 +0800
Subject: [PATCH] 消费积分记录
---
src/main/java/com/mzl/flower/dto/request/coupon/CreateCouponRecordDTO.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/mzl/flower/dto/request/coupon/CreateCouponRecordDTO.java b/src/main/java/com/mzl/flower/dto/request/coupon/CreateCouponRecordDTO.java
index 4386cad..b5e7334 100644
--- a/src/main/java/com/mzl/flower/dto/request/coupon/CreateCouponRecordDTO.java
+++ b/src/main/java/com/mzl/flower/dto/request/coupon/CreateCouponRecordDTO.java
@@ -4,6 +4,7 @@
import lombok.Data;
import javax.validation.constraints.NotEmpty;
+import javax.validation.constraints.NotNull;
@Data
public class CreateCouponRecordDTO {
@@ -30,8 +31,8 @@
* 商户ID
*/
@ApiModelProperty(value = "商户ID")
- @NotEmpty(message = "商户ID不能为空")
- private String customerId;
+ @NotNull(message = "商户ID不能为空")
+ private Long customerId;
/**
* 状态(coupon_record_status)未使用、已使用、已过期
--
Gitblit v1.9.3