| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- package com.sdtool.common.entity.design;
- import com.sdtool.common.entity.base.BaseEntity;
- import com.sweetfish.util.Comment;
- import org.rex.db.RColumn;
- import java.util.ArrayList;
- import java.util.List;
- /**
- * 设计模板
- */
- public class DesignTemplate extends BaseEntity {
- @RColumn("id")
- @Comment("")
- private long id;
- @RColumn("templatename")
- @Comment("模板名称")
- private String templateName;
- @RColumn("backgroundpath")
- @Comment("背景图片")
- private String backgroundPath;
- @RColumn("viewthumbpath")
- @Comment("缩略图")
- private String viewThumbPath;
- @RColumn("canvasheight")
- @Comment("画布高(mm)")
- private double canvasHeight;
- @RColumn("canvaswidth")
- @Comment("画布宽(mm)")
- private double canvasWidth;
- @RColumn("breedheight")
- @Comment("拼版尺寸高")
- private double breedHeight;
- @RColumn("breedwidth")
- @Comment("拼版尺寸宽")
- private double breedWidth;
- @RColumn("idproduct")
- @Comment("产品id,暂时手传")
- private long idProduct;
- @Comment("")
- @RColumn("voidflag")
- private int voidFlag;
- @RColumn("jsoncontent")
- @Comment("模板属性json,数据库记录的是文件链接")
- private String jsonContent;
- @Comment("元素")
- private List<DesignTemplateItem> itemList = new ArrayList<>();
- public long getId() {
- return id;
- }
- public void setId(long id) {
- this.id = id;
- }
- public String getTemplateName() {
- return templateName;
- }
- public void setTemplateName(String templateName) {
- this.templateName = templateName;
- }
- public String getBackgroundPath() {
- return backgroundPath;
- }
- public void setBackgroundPath(String backgroundPath) {
- this.backgroundPath = backgroundPath;
- }
- public String getViewThumbPath() {
- return viewThumbPath;
- }
- public void setViewThumbPath(String viewThumbPath) {
- this.viewThumbPath = viewThumbPath;
- }
- public double getCanvasHeight() {
- return canvasHeight;
- }
- public void setCanvasHeight(double canvasHeight) {
- this.canvasHeight = canvasHeight;
- }
- public double getCanvasWidth() {
- return canvasWidth;
- }
- public void setCanvasWidth(double canvasWidth) {
- this.canvasWidth = canvasWidth;
- }
- public double getBreedHeight() {
- return breedHeight;
- }
- public void setBreedHeight(double breedHeight) {
- this.breedHeight = breedHeight;
- }
- public double getBreedWidth() {
- return breedWidth;
- }
- public void setBreedWidth(double breedWidth) {
- this.breedWidth = breedWidth;
- }
- public long getIdProduct() {
- return idProduct;
- }
- public void setIdProduct(long idProduct) {
- this.idProduct = idProduct;
- }
- public List<DesignTemplateItem> getItemList() {
- return itemList;
- }
- public void setItemList(List<DesignTemplateItem> itemList) {
- this.itemList = itemList;
- }
- public int getVoidFlag() {
- return voidFlag;
- }
- public void setVoidFlag(int voidFlag) {
- this.voidFlag = voidFlag;
- }
- public String getJsonContent() {
- return jsonContent;
- }
- public void setJsonContent(String jsonContent) {
- this.jsonContent = jsonContent;
- }
- }
|