user.java

来自「java实现的可配置的工作流引擎,采用jsp+javabean实现」· Java 代码 · 共 146 行

JAVA
146
字号
package com.hongsoft.res.pojo;


/**
 * 用户信息资源对象
 */
public class User
{
   private long id;
   /**
    * 用户名
    */
   private String name = null;

   /**
    * 用户登录名
    */
   private String loginName = null;

   /**
    * 登录密码
    */
   private String password = null;

   /**
    * 联系电话
    */
   private String phone = null;

   /**
    * Email
    */
   private String email = null;

   public User()
   {
   }

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

   public long getId(){
     return this.id;
   }
   /**
    * Access method for the name property.
    *
    * @return   the current value of the name property
    */
   public String getName()
   {
      return name;
   }

   /**
    * Sets the value of the name property.
    *
    * @param aName the new value of the name property
    */
   public void setName(String aName)
   {
      name = aName;
   }

   /**
    * Access method for the loginName property.
    *
    * @return   the current value of the loginName property
    */
   public String getLoginName()
   {
      return loginName;
   }

   /**
    * Sets the value of the loginName property.
    *
    * @param aLoginName the new value of the loginName property
    */
   public void setLoginName(String aLoginName)
   {
      loginName = aLoginName;
   }

   /**
    * Access method for the password property.
    *
    * @return   the current value of the password property
    */
   public String getPassword()
   {
      return password;
   }

   /**
    * Sets the value of the password property.
    *
    * @param aPassword the new value of the password property
    */
   public void setPassword(String aPassword)
   {
      password = aPassword;
   }

   /**
    * Access method for the phone property.
    *
    * @return   the current value of the phone property
    */
   public String getPhone()
   {
      return phone;
   }

   /**
    * Sets the value of the phone property.
    *
    * @param aPhone the new value of the phone property
    */
   public void setPhone(String aPhone)
   {
      phone = aPhone;
   }

   /**
    * Access method for the email property.
    *
    * @return   the current value of the email property
    */
   public String getEmail()
   {
      return email;
   }

   /**
    * Sets the value of the email property.
    *
    * @param aEmail the new value of the email property
    */
   public void setEmail(String aEmail)
   {
      email = aEmail;
   }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?