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