依赖引入
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
具体使用
package com.post.module.entity;
import lombok.Data;
import lombok.experimental.Accessors;
import java.math.BigInteger;
/**
* area
* @author
*/
@Data
@Accessors(chain = true)
public class Area {
private BigInteger id;
/**
* 住址
*/
private String name;
private Integer createTime;
private Integer updateTime;
private Integer isDeleted;
}