首页>代码>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;
    }
}
最近下载更多
                
                zolscy     LV24
                2024年11月26日
            
            
        
                2206371875     LV7
                2024年3月1日
            
            
        
                shuangfu     LV25
                2023年10月25日
            
            
        
                opq221     LV5
                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日
            
            
        
                
                
                
最近浏览