diff --git a/pojo-building-pictures/src/main/java/cn/com/tenlion/buildingpictures/pojo/dtos/picturestemplate/PicturesTemplateDTO.java b/pojo-building-pictures/src/main/java/cn/com/tenlion/buildingpictures/pojo/dtos/picturestemplate/PicturesTemplateDTO.java new file mode 100644 index 0000000..5baefe3 --- /dev/null +++ b/pojo-building-pictures/src/main/java/cn/com/tenlion/buildingpictures/pojo/dtos/picturestemplate/PicturesTemplateDTO.java @@ -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 areaList; + @ApiModelProperty(name = "picturesTemplateFile", value = "套版附件") + private String picturesTemplateFile; + @ApiModelProperty(name = "fileList", value = "套版附件") + private List 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 getFileList() { + if (fileList == null) { + return new ArrayList<>(); + } + return fileList; + } + + public void setFileList(List fileList) { + this.fileList = fileList; + } + + public String getPicturesTemplateFile() { + return picturesTemplateFile == null ? "" : picturesTemplateFile; + } + + public void setPicturesTemplateFile(String picturesTemplateFile) { + this.picturesTemplateFile = picturesTemplateFile; + } + + public List getAreaList() { + if (areaList == null) { + return new ArrayList<>(); + } + return areaList; + } + + public void setAreaList(List 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; + } + + +}