接口的使用
com.github.hetianyi.plugins.generator.pojo.generator.feature.Feature
使用Feature的程序包
程序包
说明
-
com.github.hetianyi.plugins.generator.pojo.generator.feature中Feature的使用
修饰符和类型接口说明interface特性:在构造类结构之前添加一些自定义字段interface特性:在构造类结构之前将某些字段移除interfaceinterface特性:运行时动态处理感兴趣的slot(更新、删除等操作)interface特性:运行时动态处理感兴趣的slot(更新、删除等操作) -
com.github.hetianyi.plugins.generator.pojo.generator.feature.buildin中Feature的使用
修饰符和类型类说明class特性:生成类注释class特性:生成版权注释,位于类第一行classclass特性:生成字段注释class特性:为类的字段添加Getters和Setters方法class特性:将数据库ID字段导出为String类型,而不是默认的Long类型class特性:导入依赖class特性:生成本插件项目的传播注释 -
com.github.hetianyi.plugins.generator.pojo.generator.feature.extend.jackson中Feature的使用
修饰符和类型类说明class特性:为时间日期格式的字段添加@DateTimeFormat注解class特性:为类添加@JsonInclude(JsonInclude.Include.NON_NULL)注解, 序列化时忽略空字段class特性:为时间日期格式的字段添加@JsonFormat注解 -
com.github.hetianyi.plugins.generator.pojo.generator.feature.extend.jpa中Feature的使用
修饰符和类型类说明class特性:为类添加 Jpa@Entity和@Table注解class特性:为字段添加Jpa字段的注解 -
com.github.hetianyi.plugins.generator.pojo.generator.feature.extend.lombok中Feature的使用
修饰符和类型类说明class特性:为类添加@AllArgsConstructor注解class特性:为类添加@Builder注解class特性:为类添加@Data注解class特性:为类添加@NoArgsConstructor注解 -
com.github.hetianyi.plugins.generator.pojo.generator.feature.extend.mybatis中Feature的使用
修饰符和类型类说明class特性:为类添加 Mybatisplus@com.baomidou.mybatisplus.annotation.TableName注解class特性:为字段添加Mybatisplus字段的注解
可能包含
@com.baomidou.mybatisplus.annotation.TableId
@com.baomidou.mybatisplus.annotation.TableField -
com.github.hetianyi.plugins.generator.pojo.generator.feature.extend.ready中Feature的使用
-
com.github.hetianyi.plugins.generator.pojo.generator.feature.extend.swagger中Feature的使用
修饰符和类型类说明class特性:为类添加Swagger的@ApiModel注解class特性:为类的字段添加Swagger的@ApiModelProperty注解