用户:
package com.atguigu.crud.bean;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
public class User {
private Long id;
private String login_mail;
private String pwd;
private String nick_name;
private String phone;
private String head_img;
private String true_name;
private String id_card;
private String sex;
private String qq_code;
private String wechat_code;
private String signature;
private int club_count;
private String remark;
private int status;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd ", timezone = "GMT+8")
private Date register_time;
private String register_ip;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd ", timezone = "GMT+8")
private Date last_time;
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd ", timezone = "GMT+8")
private Date update_time;
private Byte user_type;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getLogin_mail() {
return login_mail;
}
public void setLogin_mail(String login_mail) {
this.login_mail = login_mail == null ? null : login_mail.trim();
}
public String getPwd() {
return pwd;
}
public void setPwd(String pwd) {
this.pwd = pwd == null ? null : pwd.trim();
}
public String getNick_name() {
return nick_name;
}
public void setNick_name(String nick_name) {
this.nick_name = nick_name == null ? null : nick_name.trim();
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone == null ? null : phone.trim();
}
public String getHead_img() {
return head_img;
}
public void setHead_img(String head_img) {
this.head_img = head_img == null ? null : head_img.trim();
}
public String getTrue_name() {
return true_name;
}
public void setTrue_name(String true_name) {
this.true_name = true_name == null ? null : true_name.trim();
}
public String getId_card() {
return id_card;
}
public void setId_card(String id_card) {
this.id_card = id_card == null ? null : id_card.trim();
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex == null ? null : sex.trim();
}
public String getQq_code() {
return qq_code;
}
public void setQq_code(String qq_code) {
this.qq_code = qq_code == null ? null : qq_code.trim();
}
public String getWechat_code() {
return wechat_code;
}
public void setWechat_code(String wechat_code) {
this.wechat_code = wechat_code == null ? null : wechat_code.trim();
}
public String getSignature() {
return signature;
}
public void setSignature(String signature) {
this.signature = signature == null ? null : signature.trim();
}
public int getClub_count() {
return club_count;
}
public void setClub_count(int i) {
this.club_count = i;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
public int getStatus() {
return status;
}
public void setStatus(int i) {
this.status = i;
}
public Date getRegister_time() {
return register_time;
}
public void setRegister_time(Date register_time) {
this.register_time = register_time;
}
public String getRegister_ip() {
return register_ip;
}
public void setRegister_ip(String register_ip) {
this.register_ip = register_ip == null ? null : register_ip.trim();
}
public Date getLast_time() {
return last_time;
}
public void setLast_time(Date last_time) {
this.last_time = last_time;
}
public Date getUpdate_time() {
return update_time;
}
public void setUpdate_time(Date update_time) {
this.update_time = update_time;
}
public Byte getUser_type() {
return user_type;
}
public void setUser_type(Byte user_type) {
this.user_type = user_type;
}
}