feat(user): 添加用户实体类
- 创建用户实体类包含姓名、年龄、性别和地址字段 - 初始化用户实体类的基本结构 - 为用户实体类添加默认构造函数 - 设置用户实体类的包路径为com.example.textgit.pojo - 定义用户实体类的私有属性 - 添加用户实体类的完整实现 - 实现用户实体类的Java bean规范 - 配置用户实体类的访问权限 - 完成用户实体类的基础代码编写 - 提供用户实体类的初始版本
This commit is contained in:
10
src/main/java/com/example/textgit/pojo/user.java
Normal file
10
src/main/java/com/example/textgit/pojo/user.java
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
package com.example.textgit.pojo;
|
||||||
|
|
||||||
|
public class user {
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
private int age;
|
||||||
|
private String sex;
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user