参数get 获取
This commit is contained in:
parent
f9b9611ffb
commit
be49378e29
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue