修改印花 允许同时single和overall

This commit is contained in:
2024-07-05 18:47:12 +08:00
parent c6626b230a
commit 5ecebd5117
13 changed files with 214 additions and 114 deletions

View File

@@ -58,6 +58,9 @@ public class DesignItemClothesDetailVO {
@ApiModelProperty("渐变色信息")
private Gradient gradient;
@ApiModelProperty("未分割的图层")
private String undividedLayer;
public DesignItemClothesDetailVO() {
}

View File

@@ -13,6 +13,9 @@ import java.util.List;
@ApiModel("design single 印花详情")
public class DesignSinglePrint implements Serializable {
@ApiModelProperty("single -> true,overall -> false")
private Boolean ifSingle;
@ApiModelProperty("印花的类型 Slogan || Logo || Pattern")
private String level2Type;
@@ -48,7 +51,7 @@ public class DesignSinglePrint implements Serializable {
this.scale = scale;
}
public DesignSinglePrint(String level2Type, String path, String minIOPath, List<Double> location, Double scale, Double angle, Integer priority) {
public DesignSinglePrint(String level2Type, String path, String minIOPath, List<Double> location, Double scale, Double angle, Integer priority, Boolean ifSingle) {
this.level2Type = level2Type;
this.path = path;
this.minIOPath = minIOPath;
@@ -56,5 +59,6 @@ public class DesignSinglePrint implements Serializable {
this.scale = scale;
this.angle = angle;
this.priority = priority;
this.ifSingle = ifSingle;
}
}