POJO
pojo是一个普通的maven项目
在src/main/java下创建目录
![7925105-0c7e0eacf5473df3.png](https://i-blog.csdnimg.cn/blog_migrate/94cd5409a560ac7b6020080dde730385.webp?x-image-process=image/format,png)
image.png
这里的模型 是用mybatis-generator自动生成的
再次附上POM文件
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>parent</artifactId>
<groupId>com.project</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pojo</artifactId>
</project>