首页>代码>java自动生成数据库文档>/screwdemo/src/main/java/com/example/screw/screwdemo/generator/GeneratorProperties.java
package com.example.screw.screwdemo.generator;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;

import java.io.Serializable;
import java.util.List;

/**
 * @author Simon
 */
@Configuration
@ConfigurationProperties("screw-config")
public class GeneratorProperties implements Serializable {
    /**
     * 生成文档路径
     */
    private String fileOutputDir;

    /**
     * 生成文档后是否打开文件目录
     */
    private Boolean openOutputDir;

    /**
     * 生成文档类型
     */
    private String fileType;

    /**
     * 生产文档名称
     */
    private String fileName;

    /**
     * 生成模板实现
     */
    private String produceType;

    /**
     * 生成文档版本
     */
    private String version;

    /**
     * 生成文档描述
     */
    private String description;

    /**
     * 两种生成策略,
     * 一种是根据指定的表、表前缀、表后缀去生成;
     * 二种是忽略指定的表、表前缀、表后缀去生成。
     * 1 忽略策略 2指定策略
     */
    private Integer strategy;

    /**
     * 表名
     */
    private List<String> tableName;

    /**
     * 表前缀
     */
    private List<String> prefix;

    /**
     * 表后缀
     */
    private List<String> suffix;

    public String getFileOutputDir() {
        return fileOutputDir;
    }

    public void setFileOutputDir(String fileOutputDir) {
        this.fileOutputDir = fileOutputDir;
    }

    public Boolean getOpenOutputDir() {
        return openOutputDir;
    }

    public void setOpenOutputDir(Boolean openOutputDir) {
        this.openOutputDir = openOutputDir;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getProduceType() {
        return produceType;
    }

    public void setProduceType(String produceType) {
        this.produceType = produceType;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<String> getTableName() {
        return tableName;
    }

    public void setTableName(List<String> tableName) {
        this.tableName = tableName;
    }

    public List<String> getPrefix() {
        return prefix;
    }

    public void setPrefix(List<String> prefix) {
        this.prefix = prefix;
    }

    public List<String> getSuffix() {
        return suffix;
    }

    public void setSuffix(List<String> suffix) {
        this.suffix = suffix;
    }

    public Integer getStrategy() {
        return strategy;
    }

    public void setStrategy(Integer strategy) {
        this.strategy = strategy;
    }
}
最近下载更多
2206371875  LV7 3月1日
shuangfu  LV24 2023年10月25日
opq221  LV3 2023年3月10日
二进制2  LV3 2023年1月6日
crosa_Don  LV18 2022年10月7日
dengjunjun  LV15 2022年9月30日
yjh120470  LV3 2022年9月29日
zw5097  LV23 2022年9月29日
qintian1023  LV2 2022年9月28日
栈道小生  LV10 2022年9月23日
最近浏览更多
chirsbey2 4月17日
暂无贡献等级
youwuzuichen  LV10 4月17日
zolscy  LV12 4月5日
walden123  LV1 3月9日
2206371875  LV7 3月1日
sky1044  LV1 2月19日
cbddbc  LV1 1月4日
内心向阳  LV4 2023年11月7日
shuangfu  LV24 2023年10月25日
zhy1989wz  LV6 2023年9月11日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友