com.github.fartherp:generatorcode-plt

generator-code-integration

License

License

GroupId

GroupId

com.github.fartherp
ArtifactId

ArtifactId

generatorcode-plt
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

generator-code-integration

Download generatorcode-plt

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.fartherp/generatorcode-plt/ -->
<dependency>
    <groupId>com.github.fartherp</groupId>
    <artifactId>generatorcode-plt</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.fartherp/generatorcode-plt/
implementation 'com.github.fartherp:generatorcode-plt:1.0.2'
// https://jarcasting.com/artifacts/com.github.fartherp/generatorcode-plt/
implementation ("com.github.fartherp:generatorcode-plt:1.0.2")
'com.github.fartherp:generatorcode-plt:jar:1.0.2'
<dependency org="com.github.fartherp" name="generatorcode-plt" rev="1.0.2">
  <artifact name="generatorcode-plt" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.fartherp', module='generatorcode-plt', version='1.0.2')
)
libraryDependencies += "com.github.fartherp" % "generatorcode-plt" % "1.0.2"
[com.github.fartherp/generatorcode-plt "1.0.2"]

Dependencies

compile (2)

Group / Artifact Type Version
commons-lang : commons-lang jar 2.6
com.github.fartherp : code-generator-core jar 1.0.2

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.8.8

Project Modules

There are no modules declared in this project.

自定义代码集成

底层依赖

<dependency>
    <groupId>com.github.fartherp</groupId>
    <artifactId>code-generator-core</artifactId>
</dependency>

目录结构

comment: 代码注解
db: 对应数据库字段/类包名基本信息
java.element: 类元素
java.file: java类集合
xml.mybatis.element: mybatis的xml文件元素
xml.mybatis.mapper: mybatis的xml文件集合
xml.spring.element: spring的xml文件元素
xml.spring.document: spring的xml文件集合
META-INF.generator: key(自定义)=生成代码入口类

核心

项目的核心*Attributes,使用泛型可以在编码时控制错误,核心贯穿整个项目

Versions

Version
1.0.2
1.0.1
1.0.0