package cn.com.tenlion.freemarker.pojo.vos.templateconfig;

import ink.wgink.annotation.CheckEmptyAnnotation;
import ink.wgink.annotation.CheckNumberAnnotation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 *
 * @ClassName: TemplateVO
 * @Description: 模板表
 * @Author: WenG
 * @Date: 2020-05-07 16:44
 * @Version: 1.0
 **/
@ApiModel
public class TemplateConfigVO {

    @ApiModelProperty(name = "templateCode", value = "模板编码")
    @CheckEmptyAnnotation(name = "模板编码")
    private String templateCode;
    @ApiModelProperty(name = "templateUrl", value = "服务器地址")
    @CheckEmptyAnnotation(name = "服务器地址")
    private String templateUrl;
    @ApiModelProperty(name = "templateName", value = "模板名称")
    @CheckEmptyAnnotation(name = "模板名称")
    private String templateName;
    @ApiModelProperty(name = "templateContent", value = "模板内容")
    private String templateContent;
    @ApiModelProperty(name = "templateRootPath", value = "存储根路径")
    @CheckEmptyAnnotation(name = "存储根路径")
    private String templateRootPath;
    @ApiModelProperty(name = "templateOrder", value = "模板排序")
    @CheckNumberAnnotation(name = "模板排序")
    private Double templateOrder;
    @ApiModelProperty(name = "templateFile", value = "模板附件")
    private String templateFile;
    @ApiModelProperty(name = "templateAllGenerate", value = "模板批量生成接口")
    private String templateAllGenerate;
    @ApiModelProperty(name = "templateFileType", value = "生成文件类型")
    @CheckEmptyAnnotation(name = "生成文件类型")
    private String templateFileType;
    @ApiModelProperty(name = "templateMode", value = "访问方式1:Nginx静态访问,2:系统接口访问")
    @CheckEmptyAnnotation(name = "访问方式")
    private String templateMode;
    @ApiModelProperty(name = "templateMode", value = "模板项目")
    @CheckEmptyAnnotation(name = "模板类型")
    private String templateProject;

    public String getTemplateProject() {
        return templateProject == null ? "" : templateProject;
    }

    public void setTemplateProject(String templateProject) {
        this.templateProject = templateProject;
    }

    public String getTemplateMode() {
        return templateMode == null ? "" : templateMode;
    }

    public void setTemplateMode(String templateMode) {
        this.templateMode = templateMode;
    }

    public String getTemplateFileType() {
        return templateFileType == null ? "" : templateFileType;
    }

    public void setTemplateFileType(String templateFileType) {
        this.templateFileType = templateFileType;
    }

    public String getTemplateAllGenerate() {
        return templateAllGenerate == null ? "" : templateAllGenerate;
    }

    public void setTemplateAllGenerate(String templateAllGenerate) {
        this.templateAllGenerate = templateAllGenerate;
    }

    public String getTemplateFile() {
        return templateFile;
    }

    public void setTemplateFile(String templateFile) {
        this.templateFile = templateFile;
    }

    public String getTemplateCode() {
        return templateCode == null ? "" : templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public String getTemplateUrl() {
        return templateUrl == null ? "" : templateUrl;
    }

    public void setTemplateUrl(String templateUrl) {
        this.templateUrl = templateUrl;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateContent() {
        return templateContent == null ? "" : templateContent;
    }

    public void setTemplateContent(String templateContent) {
        this.templateContent = templateContent;
    }


    public String getTemplateRootPath() {
        return templateRootPath == null ? "" : templateRootPath;
    }

    public void setTemplateRootPath(String templateRootPath) {
        this.templateRootPath = templateRootPath;
    }

    public Double getTemplateOrder() {
        return templateOrder == null ? 0D : templateOrder;
    }

    public void setTemplateOrder(Double templateOrder) {
        this.templateOrder = templateOrder;
    }


}
