package cn.autoform.bean; import java.sql.Timestamp; import com.fasterxml.jackson.annotation.JsonFormat; import cn.autoform.db.entity.TemplateManagerEntity; /** * @author lt-zwy * */ public class TemplateManagerOutput extends TemplateManagerEntity { /** * serialVersionUID */ private static final long serialVersionUID = 1338118018740873819L; /** * 模板选中区分,默认未被选中 */ private boolean selected = false; /** * 模板启用区分 */ private boolean usableFlag; /** * 模板被使用数量 */ private int templateUseSum = 0; /** * 模板分类名称 */ private String templateCategoryName = ""; /** * 模板表单设计风格 */ private String designMode = "";//1简约,2传统 /** * 表单名称 */ private String formName =""; /** * 表单正在使用的版本 */ private String formVersion = ""; public String getFormName() { return formName; } public void setFormName(String formName) { this.formName = formName; } public String getFormVersion() { return formVersion; } public void setFormVersion(String formVersion) { this.formVersion = formVersion; } @Override @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") public Timestamp getCreateDatetime() { return super.getCreateDatetime(); } public boolean isSelected() { return selected; } public void setSelected(boolean selected) { this.selected = selected; } public boolean isUsableFlag() { return usableFlag; } public void setUsableFlag(boolean usableFlag) { this.usableFlag = usableFlag; } public int getTemplateUseSum() { return templateUseSum; } public void setTemplateUseSum(int templateUseSum) { this.templateUseSum = templateUseSum; } public String getTemplateCategoryName() { return templateCategoryName; } public void setTemplateCategoryName(String templateCategoryName) { this.templateCategoryName = templateCategoryName; } public String getDesignMode() { return designMode; } public void setDesignMode(String designMode) { this.designMode = designMode; } }