first version of aida_back
This commit is contained in:
30
src/main/java/com/ai/da/model/dto/AccountAddDTO.java
Normal file
30
src/main/java/com/ai/da/model/dto/AccountAddDTO.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("AccountAdd")
|
||||
public class AccountAddDTO {
|
||||
|
||||
@NotBlank(message = "email cannot be empty!")
|
||||
@ApiModelProperty("email")
|
||||
private String email;
|
||||
|
||||
@NotBlank(message = "userName cannot be empty!")
|
||||
@ApiModelProperty("userName")
|
||||
private String userName;
|
||||
|
||||
@NotBlank(message = "validStartTime cannot be empty!")
|
||||
@ApiModelProperty("Start time of account validity ")
|
||||
private String validStartTime;
|
||||
|
||||
@NotBlank(message = "validEndTime cannot be empty!")
|
||||
@ApiModelProperty("End time of account validity ")
|
||||
private String validEndTime;
|
||||
|
||||
}
|
||||
25
src/main/java/com/ai/da/model/dto/AccountBindEmailDTO.java
Normal file
25
src/main/java/com/ai/da/model/dto/AccountBindEmailDTO.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("绑定邮箱")
|
||||
public class AccountBindEmailDTO {
|
||||
|
||||
@NotNull(message = "userId cannot be empty!")
|
||||
@ApiModelProperty("用户id")
|
||||
private Long userId;
|
||||
|
||||
@NotBlank(message = "Please input email!")
|
||||
@ApiModelProperty("邮箱")
|
||||
private String userEmail;
|
||||
|
||||
@NotBlank(message = "Please input the email verification code !")
|
||||
@ApiModelProperty("邮箱验证码")
|
||||
private String emailVerifyCode;
|
||||
}
|
||||
38
src/main/java/com/ai/da/model/dto/AccountEditDTO.java
Normal file
38
src/main/java/com/ai/da/model/dto/AccountEditDTO.java
Normal file
@@ -0,0 +1,38 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("AccountEdit")
|
||||
public class AccountEditDTO {
|
||||
|
||||
@ApiModelProperty("Old user email")
|
||||
private String oldEmail;
|
||||
|
||||
@ApiModelProperty("New user email")
|
||||
private String newEmail;
|
||||
|
||||
@ApiModelProperty("Old user name")
|
||||
private String oldUserName;
|
||||
|
||||
@ApiModelProperty("New user name")
|
||||
private String newUserName;
|
||||
|
||||
@ApiModelProperty("Start time of the new account validity period")
|
||||
private String newValidStartTime;
|
||||
|
||||
@ApiModelProperty("Start time of the old account validity period")
|
||||
private String oldValidStartTime;
|
||||
|
||||
@ApiModelProperty("End time of the new account validity period")
|
||||
private String newValidEndTime;
|
||||
|
||||
@ApiModelProperty("End time of the old account validity period")
|
||||
private String oldValidEndTime;
|
||||
|
||||
}
|
||||
35
src/main/java/com/ai/da/model/dto/AccountLoginDTO.java
Normal file
35
src/main/java/com/ai/da/model/dto/AccountLoginDTO.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("登入")
|
||||
public class AccountLoginDTO {
|
||||
|
||||
@NotNull(message = "userId cannot be empty !")
|
||||
@ApiModelProperty("userId")
|
||||
private Long userId;
|
||||
|
||||
@NotBlank(message = "Please input email !")
|
||||
@ApiModelProperty("邮箱")
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty("用户名")
|
||||
private String userName;
|
||||
|
||||
@ApiModelProperty("密码")
|
||||
private String password;
|
||||
|
||||
@NotBlank(message = "Please input loginType !")
|
||||
@ApiModelProperty("登入类型 EMAIL - >邮箱 , PASSWORD ->密码")
|
||||
private String loginType;
|
||||
|
||||
@ApiModelProperty("邮箱验证码")
|
||||
private String emailVerifyCode;
|
||||
|
||||
}
|
||||
18
src/main/java/com/ai/da/model/dto/AccountLogoutDTO.java
Normal file
18
src/main/java/com/ai/da/model/dto/AccountLogoutDTO.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("登出")
|
||||
public class AccountLogoutDTO {
|
||||
|
||||
@NotNull(message = "userId cannot be empty !")
|
||||
@ApiModelProperty("userId")
|
||||
private Long userId;
|
||||
|
||||
}
|
||||
20
src/main/java/com/ai/da/model/dto/AccountPreLoginDTO.java
Normal file
20
src/main/java/com/ai/da/model/dto/AccountPreLoginDTO.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@ApiModel("预先登入")
|
||||
public class AccountPreLoginDTO {
|
||||
|
||||
@NotBlank(message = "userName cannot be empty!")
|
||||
@ApiModelProperty("用户名")
|
||||
private String userName;
|
||||
|
||||
@NotBlank(message = "password cannot be empty!")
|
||||
@ApiModelProperty("密码")
|
||||
private String password;
|
||||
}
|
||||
25
src/main/java/com/ai/da/model/dto/AccountRegisterDTO.java
Normal file
25
src/main/java/com/ai/da/model/dto/AccountRegisterDTO.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@ApiModel("账户")
|
||||
public class AccountRegisterDTO {
|
||||
|
||||
@NotBlank(message = "Please input email !")
|
||||
@ApiModelProperty("邮箱")
|
||||
private String email;
|
||||
|
||||
@NotBlank(message = "Please input password !")
|
||||
@ApiModelProperty("密码")
|
||||
private String password;
|
||||
|
||||
@NotBlank(message = "Please input the email verification code !")
|
||||
@ApiModelProperty("邮箱验证码")
|
||||
private String emailVerifyCode;
|
||||
|
||||
}
|
||||
28
src/main/java/com/ai/da/model/dto/CollectionColorDTO.java
Normal file
28
src/main/java/com/ai/da/model/dto/CollectionColorDTO.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel("设计Collection颜色板 入参")
|
||||
public class CollectionColorDTO {
|
||||
|
||||
@ApiModelProperty("潘通id")
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("潘通名字")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("tcx值")
|
||||
private String tcx;
|
||||
|
||||
@NotBlank(message = "rgb value cannot be empty")
|
||||
@ApiModelProperty("潘通RGB值")
|
||||
private String rgbValue;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("删除文件")
|
||||
public class CollectionDeleteFileDTO {
|
||||
|
||||
@NotNull(message = "file id cannot be empty!")
|
||||
@ApiModelProperty("文件id")
|
||||
private Long id;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@ApiModel("文件上传")
|
||||
@AllArgsConstructor
|
||||
public class CollectionElementUploadDTO {
|
||||
|
||||
@NotNull(message = "文件不能为空!")
|
||||
private MultipartFile file;
|
||||
|
||||
@ApiModelProperty("一级类型")
|
||||
private String level1Type;
|
||||
|
||||
@ApiModelProperty("时区")
|
||||
private String timeZone;
|
||||
|
||||
@ApiModelProperty("md5")
|
||||
private String md5;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("生成印花")
|
||||
public class CollectionGeneratePrintDTO {
|
||||
|
||||
@NotNull(message = "file select2Id cannot be empty!")
|
||||
@ApiModelProperty("选择的第一个print文件id")
|
||||
private Long select1Id;
|
||||
|
||||
@NotNull(message = "file select2Id cannot be empty!")
|
||||
@ApiModelProperty("选择的第一个print文件id")
|
||||
private Long select2Id;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel("印花保存")
|
||||
public class CollectionSavePrintDTO {
|
||||
|
||||
@ApiModelProperty("生成的印花绝对路径")
|
||||
@Size(max = 15, message = "Save up to 15 prints at a time!")
|
||||
@NotEmpty(message = "printId cannot be empty!")
|
||||
private List<String> printId;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
|
||||
}
|
||||
29
src/main/java/com/ai/da/model/dto/CollectionSketchDTO.java
Normal file
29
src/main/java/com/ai/da/model/dto/CollectionSketchDTO.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("设计Collection Sketch 入参")
|
||||
public class CollectionSketchDTO {
|
||||
|
||||
@ApiModelProperty("sketchBoardId 元素id")
|
||||
private Long sketchBoardId;
|
||||
|
||||
@NotNull(message = "isPin cannot be empty")
|
||||
@ApiModelProperty("是否pin 1 pin 0 不pin")
|
||||
private Byte isPin;
|
||||
|
||||
@NotBlank(message = "level2Type cannot be empty")
|
||||
@ApiModelProperty("二级类型 Outwear Dress Blouse Skirt Trousers")
|
||||
private String level2Type;
|
||||
|
||||
@NotBlank(message = "designType cannot be empty")
|
||||
@ApiModelProperty("design类型 用户design生成时候区别library和collection")
|
||||
private String designType;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
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.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel("DesignAttributeRetrievalDTO 入参")
|
||||
public class DesignAttributeRetrievalDTO {
|
||||
|
||||
@ApiModelProperty("library图片 数组")
|
||||
private List<String> libraryUrls = Lists.newArrayList();
|
||||
|
||||
@ApiModelProperty("sysFile图片 数组")
|
||||
private List<String> sysFileUrlS= Lists.newArrayList();
|
||||
}
|
||||
53
src/main/java/com/ai/da/model/dto/DesignCollectionDTO.java
Normal file
53
src/main/java/com/ai/da/model/dto/DesignCollectionDTO.java
Normal file
@@ -0,0 +1,53 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
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.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel("设计Collection 入参")
|
||||
public class DesignCollectionDTO {
|
||||
|
||||
@ApiModelProperty("情绪板图片 数组")
|
||||
private List<DesignCollectionElementDTO> moodBoards;
|
||||
|
||||
@ApiModelProperty("印花板图片 数组")
|
||||
private List<DesignCollectionPrintElementDTO> printBoards;
|
||||
|
||||
@NotEmpty(message = "colorBoardRgbValues cannot be empty!")
|
||||
@ApiModelProperty("颜色板RGB值 数组")
|
||||
private List<CollectionColorDTO> colorBoards;
|
||||
|
||||
@ApiModelProperty("手稿板图片id 数组")
|
||||
private List<CollectionSketchDTO> sketchBoards;
|
||||
|
||||
@ApiModelProperty("市场手稿板图片id 数组")
|
||||
private List<DesignCollectionElementDTO> marketingSketchs;
|
||||
|
||||
@NotNull(message = "systemScale cannot be empty!")
|
||||
@ApiModelProperty("系统取图比列")
|
||||
private BigDecimal systemScale;
|
||||
|
||||
@ApiModelProperty("templateId")
|
||||
private Long templateId;
|
||||
|
||||
@ApiModelProperty("mood版本id 没有传null")
|
||||
private String moodTemplateId;
|
||||
|
||||
@NotBlank(message = "singleOverall cannot be empty!")
|
||||
@ApiModelProperty("控制生成类型的参数,两个选项:outfit时候传 single , 另外一个传 overall")
|
||||
private String singleOverall;
|
||||
|
||||
@ApiModelProperty("single模式下的类别选择参数 选项有outwear,dress,blouse,skirt,trousers")
|
||||
private String switchCategory;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("设计Collection element other 入参")
|
||||
public class DesignCollectionElementDTO {
|
||||
|
||||
@ApiModelProperty("元素id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("design类型 用户design生成时候区别library和collection")
|
||||
private String designType;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel("设计Collection element print 入参")
|
||||
public class DesignCollectionPrintElementDTO {
|
||||
|
||||
@ApiModelProperty("元素id")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("design类型 用户design生成时候区别library和collection")
|
||||
private String designType;
|
||||
|
||||
@ApiModelProperty("是否pin 1 pin 0 不pin")
|
||||
private Byte isPin;
|
||||
|
||||
}
|
||||
25
src/main/java/com/ai/da/model/dto/DesignLikeDTO.java
Normal file
25
src/main/java/com/ai/da/model/dto/DesignLikeDTO.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
@ApiModel("Design like 入参")
|
||||
public class DesignLikeDTO {
|
||||
|
||||
@NotNull(message = "designItemId id cannot be empty!")
|
||||
@ApiModelProperty("like图片对应的designItemId")
|
||||
private Long designItemId;
|
||||
|
||||
@ApiModelProperty("like design到对应collection 对应的userGroupId,不传表示selected collection 为null")
|
||||
private Long userGroupId;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
}
|
||||
33
src/main/java/com/ai/da/model/dto/DesignSingleDTO.java
Normal file
33
src/main/java/com/ai/da/model/dto/DesignSingleDTO.java
Normal file
@@ -0,0 +1,33 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
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;
|
||||
|
||||
@Data
|
||||
public class DesignSingleDTO {
|
||||
|
||||
@ApiModelProperty("designItemId")
|
||||
@NotNull(message = "designItemId cannot be empty!")
|
||||
private Long designItemId;
|
||||
|
||||
@ApiModelProperty("priority 数组,列表中包含服饰的顺序,越右边的表示越外层的衣服 例如[\"Outwear\", \"Dress\"]表示outwear在dress里面")
|
||||
@NotEmpty(message = "priority cannot be empty!")
|
||||
private List<String> priority;
|
||||
|
||||
@NotEmpty(message = "clothes cannot be empty!")
|
||||
@ApiModelProperty("clothes 元素")
|
||||
private List<DesignSingleItemDTO> clothes;
|
||||
|
||||
@ApiModelProperty("others 元素")
|
||||
private List<DesignSingleItemDTO> others;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
|
||||
}
|
||||
29
src/main/java/com/ai/da/model/dto/DesignSingleItemDTO.java
Normal file
29
src/main/java/com/ai/da/model/dto/DesignSingleItemDTO.java
Normal file
@@ -0,0 +1,29 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.ai.da.python.vo.DesignPythonItemPrint;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
public class DesignSingleItemDTO {
|
||||
|
||||
@NotBlank(message = "id cannot be empty!")
|
||||
@ApiModelProperty("切换图片对应的id")
|
||||
private Long id;
|
||||
|
||||
@NotBlank(message = "type cannot be empty!")
|
||||
@ApiModelProperty("生成item实际对应的类型 有:outwear,dress,blouse,skirt,trousers Shoes Hairstyle Earring")
|
||||
private String type;
|
||||
|
||||
@NotBlank(message = "path cannot be empty!")
|
||||
@ApiModelProperty("对应的图片的绝对路径")
|
||||
private String path;
|
||||
|
||||
@ApiModelProperty("颜色 存 RGB值 中间空格分隔 比如 \"58 58 169\"")
|
||||
private String color;
|
||||
|
||||
@ApiModelProperty("对应的print图片对象")
|
||||
private DesignPythonItemPrint printObject;
|
||||
}
|
||||
25
src/main/java/com/ai/da/model/dto/DisDesignLikeDTO.java
Normal file
25
src/main/java/com/ai/da/model/dto/DisDesignLikeDTO.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("Design dislike 入参")
|
||||
public class DisDesignLikeDTO {
|
||||
|
||||
@NotNull(message = "groupDetailId id cannot be empty!")
|
||||
@ApiModelProperty("dislike图片对应的分组详情id")
|
||||
private Long groupDetailId;
|
||||
|
||||
@NotNull(message = "designId id cannot be empty!")
|
||||
@ApiModelProperty("dislike图片到对应的designId中")
|
||||
private Long designId;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
}
|
||||
24
src/main/java/com/ai/da/model/dto/EmailSendDTO.java
Normal file
24
src/main/java/com/ai/da/model/dto/EmailSendDTO.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@ApiModel("邮箱发送")
|
||||
public class EmailSendDTO {
|
||||
|
||||
@NotBlank(message = "Please input email!")
|
||||
@ApiModelProperty("邮箱")
|
||||
private String email;
|
||||
|
||||
@NotBlank(message = "operationType cannot be empty")
|
||||
@ApiModelProperty("操作类型 LOGIN 注册 FORGET_PWD 忘记密码 BIND_MAILBOX 绑定邮箱")
|
||||
private String operationType;
|
||||
|
||||
@ApiModelProperty("异常ip")
|
||||
private String ip;
|
||||
|
||||
}
|
||||
21
src/main/java/com/ai/da/model/dto/GenerateHighDesignDTO.java
Normal file
21
src/main/java/com/ai/da/model/dto/GenerateHighDesignDTO.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("生成高级design 入参")
|
||||
public class GenerateHighDesignDTO {
|
||||
|
||||
@NotNull(message = "designItem id cannot be empty!")
|
||||
@ApiModelProperty("design的designItemId")
|
||||
private Long designItemId;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
}
|
||||
22
src/main/java/com/ai/da/model/dto/GetRgbByHsvBatchDTO.java
Normal file
22
src/main/java/com/ai/da/model/dto/GetRgbByHsvBatchDTO.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("根据rgb数组批量获取潘通rgb")
|
||||
public class GetRgbByHsvBatchDTO {
|
||||
@NotNull(message = "r cannot be empty!")
|
||||
@ApiModelProperty("h值")
|
||||
private Integer h;
|
||||
@NotNull(message = "g cannot be empty!")
|
||||
@ApiModelProperty("s值")
|
||||
private Integer s;
|
||||
@NotNull(message = "b cannot be empty!")
|
||||
@ApiModelProperty("v值")
|
||||
private Integer v;
|
||||
|
||||
}
|
||||
20
src/main/java/com/ai/da/model/dto/HistoryDeleteDTO.java
Normal file
20
src/main/java/com/ai/da/model/dto/HistoryDeleteDTO.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("History删除")
|
||||
public class HistoryDeleteDTO {
|
||||
|
||||
@NotNull(message = "userGroupId cannot be empty!")
|
||||
@ApiModelProperty("history 分组id")
|
||||
private Long userGroupId;
|
||||
|
||||
}
|
||||
28
src/main/java/com/ai/da/model/dto/HistoryUpdateDTO.java
Normal file
28
src/main/java/com/ai/da/model/dto/HistoryUpdateDTO.java
Normal file
@@ -0,0 +1,28 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("History编辑")
|
||||
public class HistoryUpdateDTO {
|
||||
|
||||
@NotNull(message = "userGroupId cannot be empty!")
|
||||
@ApiModelProperty("history 分组id")
|
||||
private Long userGroupId;
|
||||
|
||||
@NotBlank(message = "userGroupName cannot be empty!")
|
||||
@ApiModelProperty("history 分组名称")
|
||||
private String userGroupName;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
|
||||
}
|
||||
22
src/main/java/com/ai/da/model/dto/LibraryDeleteDTO.java
Normal file
22
src/main/java/com/ai/da/model/dto/LibraryDeleteDTO.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel("Library删除")
|
||||
public class LibraryDeleteDTO {
|
||||
|
||||
|
||||
@NotEmpty(message = "libraryIds cannot be empty!")
|
||||
@Size(max = 100,min = 1)
|
||||
@ApiModelProperty("libraryId数组")
|
||||
private List<Long> libraryIds;
|
||||
|
||||
}
|
||||
61
src/main/java/com/ai/da/model/dto/LibraryModelPointDTO.java
Normal file
61
src/main/java/com/ai/da/model/dto/LibraryModelPointDTO.java
Normal file
@@ -0,0 +1,61 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
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.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-11-13
|
||||
*/
|
||||
@ApiModel("template打点入参")
|
||||
@Data
|
||||
public class LibraryModelPointDTO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@NotNull(message = "libraryId cannot be empty!")
|
||||
@ApiModelProperty("libraryId")
|
||||
private Long libraryId;
|
||||
|
||||
@ApiModelProperty("templateId")
|
||||
private Long templateId;
|
||||
|
||||
@NotEmpty(message = "shoulderLeft cannot be empty!")
|
||||
@ApiModelProperty("左肩 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> shoulderLeft;
|
||||
|
||||
@NotEmpty(message = "shoulderRight cannot be empty!")
|
||||
@ApiModelProperty("右肩 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> shoulderRight;
|
||||
|
||||
@NotEmpty(message = "waistbandLeft cannot be empty!")
|
||||
@ApiModelProperty("左腰 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> waistbandLeft;
|
||||
|
||||
@NotEmpty(message = "waistbandRight cannot be empty!")
|
||||
@ApiModelProperty("右腰 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> waistbandRight;
|
||||
|
||||
@NotEmpty(message = "handLeft cannot be empty!")
|
||||
@ApiModelProperty("左手 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> handLeft;
|
||||
|
||||
@NotEmpty(message = "handRight cannot be empty!")
|
||||
@ApiModelProperty("右手 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> handRight;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
|
||||
}
|
||||
30
src/main/java/com/ai/da/model/dto/LibraryUpdateDTO.java
Normal file
30
src/main/java/com/ai/da/model/dto/LibraryUpdateDTO.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel("Library编辑")
|
||||
public class LibraryUpdateDTO {
|
||||
|
||||
@NotEmpty(message = "libraryIds cannot be empty!")
|
||||
@Size(max = 100,min = 1)
|
||||
@ApiModelProperty("libraryId数组")
|
||||
private List<Long> libraryIds;
|
||||
|
||||
@NotBlank(message = "libraryName cannot be empty!")
|
||||
@ApiModelProperty("library名字")
|
||||
private String libraryName;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
|
||||
}
|
||||
39
src/main/java/com/ai/da/model/dto/LibraryUploadDTO.java
Normal file
39
src/main/java/com/ai/da/model/dto/LibraryUploadDTO.java
Normal file
@@ -0,0 +1,39 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("Library文件上传")
|
||||
@AllArgsConstructor
|
||||
public class LibraryUploadDTO {
|
||||
|
||||
@NotNull(message = "文件不能为空!")
|
||||
private MultipartFile file;
|
||||
|
||||
@ApiModelProperty("一级类型")
|
||||
private String level1Type;
|
||||
|
||||
@ApiModelProperty("二级类型")
|
||||
private String level2Type;
|
||||
|
||||
@ApiModelProperty("时区")
|
||||
private String timeZone;
|
||||
|
||||
@ApiModelProperty("md5")
|
||||
private String md5;
|
||||
/**
|
||||
* 图片高度,目前只争对 models类型
|
||||
*/
|
||||
private Integer high;
|
||||
/**
|
||||
* 图片宽度,目前只争对 models类型
|
||||
*/
|
||||
private Integer width;
|
||||
|
||||
}
|
||||
74
src/main/java/com/ai/da/model/dto/ModelsDotDTO.java
Normal file
74
src/main/java/com/ai/da/model/dto/ModelsDotDTO.java
Normal file
@@ -0,0 +1,74 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Attendance
|
||||
*
|
||||
* @author easy-generator
|
||||
* @since 2022-11-19
|
||||
*/
|
||||
@ApiModel("template 预览入参")
|
||||
@Data
|
||||
public class ModelsDotDTO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty("libraryId 编辑时预览用")
|
||||
private Long libraryId;
|
||||
|
||||
@ApiModelProperty("templateId 编辑时预览用")
|
||||
private Long templateId;
|
||||
|
||||
@NotEmpty(message = "shoulderLeft cannot be empty!")
|
||||
@ApiModelProperty("左肩 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> shoulderLeft;
|
||||
|
||||
@NotEmpty(message = "shoulderRight cannot be empty!")
|
||||
@ApiModelProperty("右肩 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> shoulderRight;
|
||||
|
||||
@NotEmpty(message = "waistbandLeft cannot be empty!")
|
||||
@ApiModelProperty("左腰 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> waistbandLeft;
|
||||
|
||||
@NotEmpty(message = "waistbandRight cannot be empty!")
|
||||
@ApiModelProperty("右腰 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> waistbandRight;
|
||||
|
||||
@NotEmpty(message = "handLeft cannot be empty!")
|
||||
@ApiModelProperty("左手 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> handLeft;
|
||||
|
||||
@NotEmpty(message = "handRight cannot be empty!")
|
||||
@ApiModelProperty("右手 数组传类似 [0.2, 0.2]")
|
||||
private List<BigDecimal> handRight;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
/**
|
||||
* 图片高度,目前只争对 models类型
|
||||
*/
|
||||
private Integer high;
|
||||
/**
|
||||
* 图片宽度,目前只争对 models类型
|
||||
*/
|
||||
private Integer width;
|
||||
|
||||
/**
|
||||
* templateUrl
|
||||
*/
|
||||
private String templateUrl;
|
||||
|
||||
}
|
||||
25
src/main/java/com/ai/da/model/dto/NoteSendDTO.java
Normal file
25
src/main/java/com/ai/da/model/dto/NoteSendDTO.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@ApiModel("短信发送")
|
||||
public class NoteSendDTO {
|
||||
|
||||
@NotBlank(message = " 手机[区域/国家]号不能为空!")
|
||||
@ApiModelProperty("[区域/国家]号 示例如 852 香港 不支持中国")
|
||||
private String regionNum;
|
||||
|
||||
@NotBlank(message = "手机号不能为空!")
|
||||
@ApiModelProperty("手机号")
|
||||
private String phone;
|
||||
|
||||
@NotBlank(message = "操作类型不能为空!")
|
||||
@ApiModelProperty("操作类型 LOGIN 登入 FORGET_PWD 忘记密码")
|
||||
private String operationType;
|
||||
|
||||
}
|
||||
23
src/main/java/com/ai/da/model/dto/QueryHistoryPageDTO.java
Normal file
23
src/main/java/com/ai/da/model/dto/QueryHistoryPageDTO.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.ai.da.model.vo.PageQueryBaseVo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("History分页查询")
|
||||
public class QueryHistoryPageDTO extends PageQueryBaseVo {
|
||||
|
||||
@ApiModelProperty("collectionName")
|
||||
private String collectionName;
|
||||
|
||||
@ApiModelProperty("开始时间 时间戳")
|
||||
private Long startDate;
|
||||
|
||||
@ApiModelProperty("开始时间 时间戳")
|
||||
private Long endDate;
|
||||
}
|
||||
23
src/main/java/com/ai/da/model/dto/QueryLibraryPageDTO.java
Normal file
23
src/main/java/com/ai/da/model/dto/QueryLibraryPageDTO.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.ai.da.model.vo.PageQueryBaseVo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@ApiModel("Library分页查询")
|
||||
public class QueryLibraryPageDTO extends PageQueryBaseVo {
|
||||
|
||||
@NotBlank(message = "level1Type cannot be empty!")
|
||||
@ApiModelProperty("一级类型")
|
||||
private String level1Type;
|
||||
|
||||
@ApiModelProperty("二级类型")
|
||||
private String level2Type;
|
||||
|
||||
@ApiModelProperty("pictureName")
|
||||
private String pictureName;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.ai.da.model.vo.PageQueryBaseVo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@ApiModel("Library分页查询2")
|
||||
public class QueryLibraryPageServiceDTO extends PageQueryBaseVo {
|
||||
|
||||
@ApiModelProperty("一级类型")
|
||||
private String level1Type;
|
||||
|
||||
@ApiModelProperty("二级类型")
|
||||
private String level2Type;
|
||||
|
||||
@ApiModelProperty("类型 Top , Bottom ,Print ")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("pictureName")
|
||||
private String pictureName;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import com.ai.da.model.vo.PageQueryBaseVo;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@ApiModel("LibraryTop分页查询")
|
||||
public class QueryLibraryTopPageDTO extends PageQueryBaseVo {
|
||||
|
||||
@NotBlank(message = "type cannot be empty!")
|
||||
@ApiModelProperty("类型 Top , Bottom ,Print ")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("二级类型")
|
||||
private String level2Type;
|
||||
|
||||
@ApiModelProperty("pictureName")
|
||||
private String pictureName;
|
||||
|
||||
}
|
||||
54
src/main/java/com/ai/da/model/dto/ReDesignCollectionDTO.java
Normal file
54
src/main/java/com/ai/da/model/dto/ReDesignCollectionDTO.java
Normal file
@@ -0,0 +1,54 @@
|
||||
package com.ai.da.model.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
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.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@ApiModel("重新设计Collection 入参")
|
||||
public class ReDesignCollectionDTO {
|
||||
|
||||
@NotNull(message = "collectionId id cannot be empty!")
|
||||
@ApiModelProperty("collectionId")
|
||||
private Long collectionId;
|
||||
|
||||
@ApiModelProperty("情绪板图片 数组")
|
||||
private List<DesignCollectionElementDTO> moodBoards;
|
||||
|
||||
@ApiModelProperty("印花板图片 数组")
|
||||
private List<DesignCollectionPrintElementDTO> printBoards;
|
||||
|
||||
@NotEmpty(message = "colorBoardRgbValues cannot be empty!")
|
||||
@ApiModelProperty("颜色板RGB值 数组")
|
||||
private List<CollectionColorDTO> colorBoards;
|
||||
|
||||
@ApiModelProperty("手稿板图片id 数组")
|
||||
private List<CollectionSketchDTO> sketchBoards;
|
||||
|
||||
@ApiModelProperty("市场手稿板图片id 数组")
|
||||
private List<DesignCollectionElementDTO> marketingSketchs;
|
||||
|
||||
@NotNull(message = "systemScale cannot be empty!")
|
||||
@ApiModelProperty("系统取图比列")
|
||||
private BigDecimal systemScale;
|
||||
|
||||
@ApiModelProperty("templateId")
|
||||
private Long templateId;
|
||||
|
||||
@NotBlank(message = "singleOverall cannot be empty!")
|
||||
@ApiModelProperty("控制生成类型的参数,两个选项:outfit时候传 single , 另外一个传 overall")
|
||||
private String singleOverall;
|
||||
|
||||
@ApiModelProperty("single模式下的类别选择参数 选项有outwear,dress,blouse,skirt,trousers")
|
||||
private String switchCategory;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
}
|
||||
Reference in New Issue
Block a user