参数get 获取
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
package com.czg.account.dto;
|
package com.czg.account.dto;
|
||||||
|
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
@@ -10,6 +13,8 @@ import java.time.LocalDateTime;
|
|||||||
* @author ww
|
* @author ww
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
public class QueryReceiveDto {
|
public class QueryReceiveDto {
|
||||||
@NotNull(message = "优惠券id 不可为空")
|
@NotNull(message = "优惠券id 不可为空")
|
||||||
private Long couponId;
|
private Long couponId;
|
||||||
|
|||||||
Reference in New Issue
Block a user