design single 在用户submit时将上传的图片保存到library
This commit is contained in:
@@ -26,6 +26,9 @@ public class DesignSingleIncludeLayersDTO {
|
||||
@ApiModelProperty("进度")
|
||||
private String processId;
|
||||
|
||||
@ApiModelProperty("性别")
|
||||
private String gender;
|
||||
|
||||
@NotBlank(message = "timeZone.cannot.be.empty")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
|
||||
@@ -4,6 +4,7 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
@@ -14,6 +15,14 @@ public class DesignSingleItemDTO {
|
||||
@ApiModelProperty("切换图片对应的id")
|
||||
private Long id;
|
||||
|
||||
@NotEmpty(message = "changed cannot be empty")
|
||||
@ApiModelProperty("当前服装的id是否被添加随机数")
|
||||
private Boolean changed;
|
||||
|
||||
@NotBlank(message = "designType cannot be empty")
|
||||
@ApiModelProperty("当前图片来源于用户上传还是从library选择 Collection/Library")
|
||||
private String designType;
|
||||
|
||||
@NotBlank(message = "type.cannot.be.empty")
|
||||
@ApiModelProperty("生成item实际对应的类型 有:outwear,dress,blouse,skirt,trousers Shoes Hairstyle Earring")
|
||||
private String type;
|
||||
|
||||
Reference in New Issue
Block a user