Authored by chenjian

加默认构造函数

1 package com.yohoufo.product.model; 1 package com.yohoufo.product.model;
2 2
3 import com.alibaba.fastjson.annotation.JSONField; 3 import com.alibaba.fastjson.annotation.JSONField;
  4 +import lombok.AllArgsConstructor;
4 import lombok.Data; 5 import lombok.Data;
  6 +import lombok.NoArgsConstructor;
5 import lombok.experimental.Builder; 7 import lombok.experimental.Builder;
6 8
7 import java.math.BigDecimal; 9 import java.math.BigDecimal;
@@ -9,6 +11,8 @@ import java.util.List; @@ -9,6 +11,8 @@ import java.util.List;
9 11
10 @Data 12 @Data
11 @Builder 13 @Builder
  14 +@AllArgsConstructor
  15 +@NoArgsConstructor
12 public class SkupInfo { 16 public class SkupInfo {
13 17
14 @JSONField(name = "product_id") 18 @JSONField(name = "product_id")