templates0.Jpa.tmpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coder-maven-plugin Show documentation
Show all versions of coder-maven-plugin Show documentation
Assist in generating CRUD code, without limitation on the specific language, as long as you can write velocity templates.
package ${packagePrefix}.dao;
import ${packagePrefix}.entity.${className};
import org.springframework.stereotype.Repository;
import com.kbao.market.ds.mongo.BaseMarketMongoDaoImpl;
#if($pkResult.size()>1)
import ${packagePrefix}.entity.${className}.PK;
#end
/**
*
* @ClassName ${className}Dao
* @Description
* @author ${author}
* @version V1.0
* @since V1.0
* @date ${date}
*
*/
@Repository
public class ${className}Dao extends BaseMarketMongoDaoImpl <${className} ,#if($pkResult.size()>1) ${className}.PK #else ${keyType} #end > {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy