content: package com.open.capacity.security.model;
  
  import java.util.Date;
  
  import com.fasterxml.jackson.annotation.JsonFormat;
  
  public class SysUser extends BaseEntity<Long> {
  
  	private static final long serialVersionUID = -6525908145032868837L;
  
  	private String username;
  	private String password;
  	private String nickname;
  	private String headImgUrl;
  	private String phone;
  	private String telephone;
  	private String email;
  	@JsonFormat(pattern = "yyyy-MM-dd")
  	private Date birthday;
  	private Integer sex;
  	private Integer status;
  	private String intro;
  
  	public String getUsername() {
  		return username;
  	}
  
  	public void setUsername(String username) {
  		this.username = username;
  	}
  
  	public String getPassword() {
  		return password;
  	}
  
  	public void setPassword(String password) {
  		this.password = password;
  	}
  
  	public String getNickname() {
  		return nickname;
  	}
  
  	public void setNickname(String nickname) {
  		this.nickname = nickname;
  	}
  
  	public String getHeadImgUrl() {
  		return headImgUrl;
  	}
  
  	public void setHeadImgUrl(String headImgUrl) {
  		this.headImgUrl = headImgUrl;
  	}
  
  	public String getPhone() {
  		return phone;
  	}
  
  	public void setPhone(String phone) {
  		this.phone = phone;
  	}
  
  	public String getTelephone() {
  		return telephone;
  	}
  
  	public void setTelephone(String telephone) {
  		this.telephone = telephone;
  	}
  
  	public String getEmail() {
  		return email;
  	}
  
  	public void setEmail(String email) {
  		this.email = email;
  	}
  
  	public Date getBirthday() {
  		return birthday;
  	}
  
  	public void setBirthday(Date birthday) {
  		this.birthday = birthday;
  	}
  
  	public Integer getSex() {
  		return sex;
  	}
  
  	public void setSex(Integer sex) {
  		this.sex = sex;
  	}
  
  	public Integer getStatus() {
  		return status;
  	}
  
  	public void setStatus(Integer status) {
  		this.status = status;
  	}
  
  	public String getIntro() {
  		return intro;
  	}
  
  	public void setIntro(String intro) {
  		this.intro = intro;
  	}
  
  	public interface Status {
  		int DISABLED = 0;
  		int VALID = 1;
  		int LOCKED = 2;
  	}
  
  }
  