新增generate like功能,及新增一次上传多张图片功能
This commit is contained in:
28
src/main/java/com/ai/da/model/dto/GenerateLikeDTO.java
Normal file
28
src/main/java/com/ai/da/model/dto/GenerateLikeDTO.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.NotNull;
|
||||
|
||||
@Data
|
||||
@ApiModel("Generate like入参")
|
||||
public class GenerateLikeDTO {
|
||||
|
||||
@NotNull(message = "generateDetail id cannot be empty!")
|
||||
@ApiModelProperty("generateDetailId")
|
||||
private Long generateDetailId;
|
||||
|
||||
@NotBlank(message = "level1Type cannot be empty!")
|
||||
@ApiModelProperty("一级类型 Sketchboard Printboard")
|
||||
private String level1Type;
|
||||
|
||||
@ApiModelProperty("当一级类型为Sketchboard时,二级类型 Outwear Dress Blouse Skirt Trousers")
|
||||
private String level2Type;
|
||||
|
||||
@NotBlank(message = "timeZone cannot be empty!")
|
||||
@ApiModelProperty("本地时区,比如 'Asia/Tokyo' 东京时间 , 'Asia/Shanghai' 北京时间 由js本地获取")
|
||||
private String timeZone;
|
||||
}
|
||||
Reference in New Issue
Block a user