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

org.artifact.builder.template.BeanTemplate Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package org.artifact.builder.template;

import java.io.File;

import org.artifact.builder.AbstractModeleBuilder;

import cn.hutool.core.util.StrUtil;

/**
 * @author : DengYing
 * @CreateDate : 2018年2月26日 下午5:44:16
 * @Description :实体模板
 */
public class BeanTemplate extends DesignTemplate {

	public BeanTemplate(AbstractModeleBuilder builder) {
		super(builder);
	}

	@Override
	public String getTemplateName() {
		return "bean.btl";
	}

	@Override
	public String getPackage() {
		return getBuilder().getPackageName() + StrUtil.DOT + "bean";
	}

	@Override
	public String getPath() {
		return getBuilder().getSourcePath() + File.separator + "bean";
	}

//	@Override
//	public String getClassName(String tableName) {
//		return super.getClassName(tableName);
//	}

	@Override
	public String getClassSuffix() {
		return "";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy