序列化
This commit is contained in:
parent
764edfe8df
commit
49ab81c9b1
|
|
@ -18,21 +18,21 @@ import java.util.Map;
|
||||||
@Data
|
@Data
|
||||||
public class MemberConfigDTO implements Serializable {
|
public class MemberConfigDTO implements Serializable {
|
||||||
@Data
|
@Data
|
||||||
public static class ConfigCoupon {
|
public static class ConfigCoupon implements Serializable {
|
||||||
@Min(value = 1, message = "数量不能小于1")
|
@Min(value = 1, message = "数量不能小于1")
|
||||||
private Integer num;
|
private Integer num;
|
||||||
private ShopCoupon coupon;
|
private ShopCoupon coupon;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public static class ConfigCoupon2 {
|
public static class ConfigCoupon2 implements Serializable {
|
||||||
@Min(value = 1, message = "数量不能小于1")
|
@Min(value = 1, message = "数量不能小于1")
|
||||||
private Integer num;
|
private Integer num;
|
||||||
private ShopCoupon coupon;
|
private ShopCoupon coupon;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public static class ConfigList {
|
public static class ConfigList implements Serializable {
|
||||||
@NotBlank(message = "名称不为空")
|
@NotBlank(message = "名称不为空")
|
||||||
private String name;
|
private String name;
|
||||||
@NotNull(message = "价格不能为空")
|
@NotNull(message = "价格不能为空")
|
||||||
|
|
@ -52,7 +52,7 @@ public class MemberConfigDTO implements Serializable {
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
public static class condition {
|
public static class condition implements Serializable {
|
||||||
private String code;
|
private String code;
|
||||||
private String value;
|
private String value;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue