All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.polaris.builder.code.config.CodeEnv Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package io.polaris.builder.code.config;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.*;

/**
 * @author Qt
 */
@Data
@XStreamAlias("code")
@NoArgsConstructor
public class CodeEnv {

	/** 输出目录 */
	@XStreamAlias("outdir")
	private String outdir;
	/** 需忽略的表名前缀,多个间逗号分隔 */
	@XStreamAlias("table-prefix")
	private String tablePrefix;
	/** 需忽略的表名后缀,多个间逗号分隔 */
	@XStreamAlias("table-suffix")
	private String tableSuffix;
	/** 需忽略的列名前缀,多个间逗号分隔 */
	@XStreamAlias("column-prefix")
	private String columnPrefix;
	/** 需忽略的列名后缀,多个间逗号分隔 */
	@XStreamAlias("column-suffix")
	private String columnSuffix;
	/** 全局属性 */
	@XStreamAlias("property")
	@XStreamConverter(ConfigParser.PropertyConverter.class)
	private Map property;
	/** jdbc类型映射 */
	@XStreamAlias("mappings")
	private Set mappings = new LinkedHashSet<>();
	/** 分组 */
	@XStreamAlias("groups")
	private List groups = new ArrayList<>();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy