webuser.java

来自「EJB模块编程 新闻管理newsapp 无状态会话Bean 需要数据库」· Java 代码 · 共 72 行

JAVA
72
字号
/*
 * Created on 2007-4-16
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package cn.edu.zucc.news.model;

import java.io.Serializable;

/**
 * @author wengwy
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class WebUser implements Serializable {
    private String userid="";
    private String pwd="";
    private String username="";
    private String usertype="editor";
    private String method="adduserresult"; //用于表示下一步的处理方法
    /**
     * @return Returns the method.
     */
    public String getMethod() {
        return method;
    }
    /**
     * @param method The method to set.
     */
    public void setMethod(String method) {
        this.method = method;
    }
    public String getPwd() {
        return pwd;
    }
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
    public String getUserid() {
        return userid;
    }
    public void setUserid(String userid) {
        this.userid = userid;
    }
    /**
     * @return Returns the username.
     */
    public String getUsername() {
        return username;
    }
    /**
     * @param username The username to set.
     */
    public void setUsername(String username) {
        this.username = username;
    }
    /**
     * @return Returns the usertype.
     */
    public String getUsertype() {
        return usertype;
    }
    /**
     * @param usertype The usertype to set.
     */
    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }
}

⌨️ 快捷键说明

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