图片套版生成模块

This commit is contained in:
cuibaocheng 2021-04-28 18:41:18 +08:00
parent 641bbad953
commit 8f437928bb

View File

@ -0,0 +1,178 @@
package cn.com.tenlion.buildingpictures.pojo.dtos.picturestemplate;
import cn.com.tenlion.buildingpictures.pojo.dtos.picturestemplatearea.PicturesTemplateAreaDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
/**
*
* @ClassName: PicturesTemplateDTO
* @Description: 图片套版的套版管理
* @Author: WenG
* @Date: 2020-10-20 10:49
* @Version: 1.0
**/
@ApiModel
public class PicturesTemplateDTO {
@ApiModelProperty(name = "picturesTemplateId", value = "主键")
private String picturesTemplateId;
@ApiModelProperty(name = "picturesTemplateCode", value = "套版编码")
private String picturesTemplateCode;
@ApiModelProperty(name = "picturesTemplateBackgroundImage", value = "套版底图")
private String picturesTemplateBackgroundImage;
@ApiModelProperty(name = "picturesTemplateTitle", value = "套版名称")
private String picturesTemplateTitle;
@ApiModelProperty(name = "picturesTemplateHeight", value = "画板高度")
private Double picturesTemplateHeight;
@ApiModelProperty(name = "picturesTemplateWidth", value = "画板宽度")
private Double picturesTemplateWidth;
@ApiModelProperty(name = "picturesTemplatePublishStatus", value = "套版发布状态")
private String picturesTemplatePublishStatus;
@ApiModelProperty(name = "picturesTemplatePublishTime", value = "套版发布时间")
private String picturesTemplatePublishTime;
@ApiModelProperty(name = "picturesTemplateUrl", value = "套版访问地址")
private String picturesTemplateUrl;
@ApiModelProperty(name = "picturesTemplateContent", value = "套版代码")
private String picturesTemplateContent;
@ApiModelProperty(name = "areaList", value = "模块区域")
private List<PicturesTemplateAreaDTO> areaList;
@ApiModelProperty(name = "picturesTemplateFile", value = "套版附件")
private String picturesTemplateFile;
@ApiModelProperty(name = "fileList", value = "套版附件")
private List<PicturesTemplateFileDTO> fileList;
@ApiModelProperty(name = "picturesTemplateBack", value = "生成尺寸")
private String picturesTemplateBack;
@ApiModelProperty(name = "picturesTemplateSize", value = "自定义尺寸")
private String picturesTemplateSize;
public String getPicturesTemplateSize() {
return picturesTemplateSize == null ? "" : picturesTemplateSize;
}
public void setPicturesTemplateSize(String picturesTemplateSize) {
this.picturesTemplateSize = picturesTemplateSize;
}
public String getPicturesTemplateBack() {
return picturesTemplateBack == null ? "" : picturesTemplateBack;
}
public void setPicturesTemplateBack(String picturesTemplateBack) {
this.picturesTemplateBack = picturesTemplateBack;
}
public List<PicturesTemplateFileDTO> getFileList() {
if (fileList == null) {
return new ArrayList<>();
}
return fileList;
}
public void setFileList(List<PicturesTemplateFileDTO> fileList) {
this.fileList = fileList;
}
public String getPicturesTemplateFile() {
return picturesTemplateFile == null ? "" : picturesTemplateFile;
}
public void setPicturesTemplateFile(String picturesTemplateFile) {
this.picturesTemplateFile = picturesTemplateFile;
}
public List<PicturesTemplateAreaDTO> getAreaList() {
if (areaList == null) {
return new ArrayList<>();
}
return areaList;
}
public void setAreaList(List<PicturesTemplateAreaDTO> areaList) {
this.areaList = areaList;
}
public String getPicturesTemplateId() {
return picturesTemplateId == null ? "" : picturesTemplateId.trim();
}
public void setPicturesTemplateId(String picturesTemplateId) {
this.picturesTemplateId = picturesTemplateId;
}
public String getPicturesTemplateCode() {
return picturesTemplateCode == null ? "" : picturesTemplateCode.trim();
}
public void setPicturesTemplateCode(String picturesTemplateCode) {
this.picturesTemplateCode = picturesTemplateCode;
}
public String getPicturesTemplateBackgroundImage() {
return picturesTemplateBackgroundImage == null ? "" : picturesTemplateBackgroundImage.trim();
}
public void setPicturesTemplateBackgroundImage(String picturesTemplateBackgroundImage) {
this.picturesTemplateBackgroundImage = picturesTemplateBackgroundImage;
}
public String getPicturesTemplateTitle() {
return picturesTemplateTitle == null ? "" : picturesTemplateTitle.trim();
}
public void setPicturesTemplateTitle(String picturesTemplateTitle) {
this.picturesTemplateTitle = picturesTemplateTitle;
}
public Double getPicturesTemplateHeight() {
return picturesTemplateHeight == null ? 0D : picturesTemplateHeight;
}
public void setPicturesTemplateHeight(Double picturesTemplateHeight) {
this.picturesTemplateHeight = picturesTemplateHeight;
}
public Double getPicturesTemplateWidth() {
return picturesTemplateWidth == null ? 0D : picturesTemplateWidth;
}
public void setPicturesTemplateWidth(Double picturesTemplateWidth) {
this.picturesTemplateWidth = picturesTemplateWidth;
}
public String getPicturesTemplatePublishStatus() {
return picturesTemplatePublishStatus == null ? "" : picturesTemplatePublishStatus.trim();
}
public void setPicturesTemplatePublishStatus(String picturesTemplatePublishStatus) {
this.picturesTemplatePublishStatus = picturesTemplatePublishStatus;
}
public String getPicturesTemplatePublishTime() {
return picturesTemplatePublishTime == null ? "" : picturesTemplatePublishTime.trim();
}
public void setPicturesTemplatePublishTime(String picturesTemplatePublishTime) {
this.picturesTemplatePublishTime = picturesTemplatePublishTime;
}
public String getPicturesTemplateUrl() {
return picturesTemplateUrl == null ? "" : picturesTemplateUrl.trim();
}
public void setPicturesTemplateUrl(String picturesTemplateUrl) {
this.picturesTemplateUrl = picturesTemplateUrl;
}
public String getPicturesTemplateContent() {
return picturesTemplateContent == null ? "" : picturesTemplateContent.trim();
}
public void setPicturesTemplateContent(String picturesTemplateContent) {
this.picturesTemplateContent = picturesTemplateContent;
}
}