package com.liuil.web.domain;

import java.util.Date;

public class User {
  private int id;  // 自增ID
  private String userName; // 用户名
  private String password; // 用户密码(MD5加密)
  private String email; // 邮箱(唯一)
  private String phone; // 手机号(唯一)
  private int   role; // 角色 0-管理员， 1-普通用户
  private boolean confirmed; // 是否通过邮箱验证
  private Date createTime; // 创建时间
  private Date updateTime; // 更新时间

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  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 getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public int getRole() {
    return role;
  }

  public void setRole(int role) {
    this.role = role;
  }

  public boolean isConfirmed() {
    return confirmed;
  }

  public void setConfirmed(boolean confirmed) {
    this.confirmed = confirmed;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }


}

@@ -112,25 +112,25 @@
  String user
-N
+n
 ame; // %E7%94%A8%E6%88%B7%E5%90%8D%0A
@@ -323,16 +323,54 @@
 %E5%90%A6%E9%80%9A%E8%BF%87%E9%82%AE%E7%AE%B1%E9%AA%8C%E8%AF%81%0A
+  private boolean activate; // %E7%94%A8%E6%88%B7%E6%98%AF%E5%90%A6%E6%9C%89%E6%95%88%0A
   privat
@@ -407,30 +407,32 @@
 rivate Date 
-update
+modified
 Time; // %E6%9B%B4%E6%96%B0%E6%97%B6

修改User Bean