add get set

This commit is contained in:
weihu 2024-09-24 10:00:06 +08:00
parent 26dda2c9df
commit dc61eafd9d
3 changed files with 10 additions and 0 deletions

View File

@ -151,6 +151,7 @@
- [spring-boot-nebula-web](spring-boot-nebula-web) web封装组件(包括统一异常返回,简化返回,自定义异常报警) - [spring-boot-nebula-web](spring-boot-nebula-web) web封装组件(包括统一异常返回,简化返回,自定义异常报警)
- [spring-boot-nebula-web-common](spring-boot-nebula-web-common) web模块基础工具类 - [spring-boot-nebula-web-common](spring-boot-nebula-web-common) web模块基础工具类
- [spring-boot-nebula-distribute-lock](spring-boot-nebula-distribute-lock) 分布式锁 - [spring-boot-nebula-distribute-lock](spring-boot-nebula-distribute-lock) 分布式锁
- [spring-boot-nebula-mybatis](spring-boot-nebula-mybatis) mybatis的一些封装比如提供基础的`BaseDO`,一些常用的类型处理器,比如数组
## [spring-boot-nebula-web-common](spring-boot-nebula-web-common) ## [spring-boot-nebula-web-common](spring-boot-nebula-web-common)
- 提供[SpringBeanUtils.java](spring-boot-nebula-web-common%2Fsrc%2Fmain%2Fjava%2Fcom%2Fnebula%2Fweb%2Fcommon%2Futils%2FSpringBeanUtils.java)获取spring bean - 提供[SpringBeanUtils.java](spring-boot-nebula-web-common%2Fsrc%2Fmain%2Fjava%2Fcom%2Fnebula%2Fweb%2Fcommon%2Futils%2FSpringBeanUtils.java)获取spring bean

View File

@ -17,6 +17,7 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.baomidou</groupId> <groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId> <artifactId>mybatis-plus-boot-starter</artifactId>
@ -27,6 +28,12 @@
<artifactId>junit-jupiter-api</artifactId> <artifactId>junit-jupiter-api</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -18,12 +18,14 @@
package com.nebula.mybatis.entity; package com.nebula.mybatis.entity;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import lombok.Data;
/** /**
* @author : wh * @author : wh
* @date : 2024/3/11 13:06 * @date : 2024/3/11 13:06
* @description: * @description:
*/ */
@Data
public class BaseDO { public class BaseDO {
private Long id; private Long id;