User 类 package com.sdcet.entity; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; public class User { private long id;//主键 private String name; private String password; private String sex; private String phoneNum; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/ShangHai") private Date createTime; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/ShangHai") private Date updateTime; public long getId() { return id; } public void setId(long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getSex() { return sex; } public void setSex(String sex) { this.sex = sex; } public String getPhoneNum() { return phoneNum; } public void setPhoneNum(String phoneNum) { this.phoneNum = phoneNum; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTim) { this.createTime = createTim; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } }
2021-05-23
最新推荐文章于 2021-09-05 18:13:11 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)