1.1.0 基本使用
在实体类对象中添加注释
//对应数据字典
@Dict(dicCode = "数据字典CODE")
//对应表
@Dict(dicCode = "主键",dictTable = "表名",dicText = "显示的字段名")
java开发常见注解
```python
1.通过绑定的id获取名称
// dicCode:对应表里面的关联的字段,dictTable:对应的表 dicText:对应表获取的字段
@Dict(dicCode = "id",dictTable="mz_post",dicText="post_name")
private String postId;
2.给时间字段校验格式
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
3.添加注解不走数据库sql
@TableField(exist = false)
private String regionCodeName;