1 Star 0 Fork 0

汪少棠 / web_app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Person.java 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
package com.wmx.fastjson;
import java.io.Serializable;
import java.util.Date;
/**
* @author wangMaoXiong
* @version 1.0
* @date 2022/12/1 19:41
*/
public class Person implements Serializable {
private Integer id;
private String name;
private Integer age;
private Date birthday;
private Float salary;
public Person() {
}
public Person(Integer id, String name, Date birthday, Float salary) {
this.id = id;
this.name = name;
this.birthday = birthday;
this.salary = salary;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public Float getSalary() {
return salary;
}
public void setSalary(Float salary) {
this.salary = salary;
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
@Override
public String toString() {
return "Person{" +
"id=" + id +
", name='" + name + '\'' +
", age=" + age +
", birthday=" + birthday +
", salary=" + salary +
'}';
}
}
1
https://gitee.com/wangmx1993/web_app.git
git@gitee.com:wangmx1993/web_app.git
wangmx1993
web_app
web_app
master

搜索帮助