package com.itek.spring.entity;
import java.io.Serializable;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
*
* @ClassName: Account
* @Description: TODO(这里用一句话描述这个类的作用)
* @author xzhou
* @date 2018年4月3日 上午10:43:14
*
*/
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@JsonInclude(Include.NON_NULL)
public class Account implements Serializable {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.id
*
* @mbggenerated
*/
private Integer id;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.recommender_id
*
* @mbggenerated
*/
private Integer recommenderId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.login_name
*
* @mbggenerated
*/
private String loginName;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.login_passwd
*
* @mbggenerated
*/
private String loginPasswd;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.status
*
* @mbggenerated
*/
private String status;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.create_date
*
* @mbggenerated
*/
private Date createDate;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.pause_date
*
* @mbggenerated
*/
private Date pauseDate;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.close_date
*
* @mbggenerated
*/
private Date closeDate;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.real_name
*
* @mbggenerated
*/
private String realName;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.idcard_no
*
* @mbggenerated
*/
private String idcardNo;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.birthdate
*
* @mbggenerated
*/
@DateTimeFormat(pattern="yyyy-MM-dd")
private Date birthdate;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.gender
*
* @mbggenerated
*/
private String gender;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.occupation
*
* @mbggenerated
*/
private String occupation;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.telephone
*
* @mbggenerated
*/
private String telephone;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.email
*
* @mbggenerated
*/
private String email;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.mailaddress
*
* @mbggenerated
*/
private String mailaddress;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.zipcode
*
* @mbggenerated
*/
private String zipcode;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.qq
*
* @mbggenerated
*/
private String qq;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.last_login_time
*
* @mbggenerated
*/
private Date lastLoginTime;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column account.last_login_ip
*
* @mbggenerated
*/
private String lastLoginIp;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table account
*
* @mbggenerated
*/
private static final long serialVersionUID = 1L;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column account.id
*
* @return the value of account.id
*
* @mbggenerated
*/
public Integer getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column account.id
*
* @param id the value for account.id
*
* @mbggenerated
*/
public void setId(Integer id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column account.recommender_id
*
* @return the value of account.recommender_id
*
* @mbggenerated
*/
public Integer getRecommenderId() {
return recommenderId;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column account.recommender_id
*
* @param recommenderId the value for account.recommender_id
*
* @mbggenerated
*/
public void setRecommenderId(Integer recommenderId) {
this.recommenderId = recommenderId;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column account.login_name
*
* @return the value of account.login_name
*
* @mbggenerated
*/
public String getLoginName() {
return loginName;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column account.login_name
*
* @param loginName the value for account.login_name
*
* @mbggenerated
*/
public void setLoginName(String loginName) {
this.loginName = loginName == null ? null : loginName.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column account.login_passwd
*
* @return the value of account.login_passwd
*
* @mbggenerated
*/
public String getLoginPasswd() {
return loginPasswd;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column account.login_passwd
*
* @param loginPasswd the value for account.login_passwd
*
* @mbggenerated
*/
public void setLoginPasswd(String loginPasswd) {
this.loginPasswd = loginPasswd == null ? null : loginPasswd.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column account.status
*
* @return the value of account.status
*
* @mbggenerated
*/
public String getStatus() {
return status;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of t