⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usertable.java

📁 一个ssh的网上购物系统
💻 JAVA
字号:
package com.xfaccp.bookonline.hib.dto;

import java.io.UnsupportedEncodingException;
import java.util.HashSet;
import java.util.Set;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.xfaccp.bookonline.hib.dto.base.BaseHibernateDTO;


/**
 * UserTable generated by MyEclipse - Hibernate Tools
 */

public class UserTable  extends BaseHibernateDTO {


    // Fields    

     private Integer userid;
     private String username;
     private String userpassword;
     private String reuserpassword;
     private String usersex;
     private Integer userage;
     @Override
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
		super.reset(mapping, request);
		try {
			request.setCharacterEncoding("gb2312");
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}

	private Set orderTables = new HashSet(0);


    // Constructors

    /** default constructor */
    public UserTable() {
    }

	/** minimal constructor */
    public UserTable(Integer userage) {
        this.userage = userage;
    }
    
    /** full constructor */
    public UserTable(String username, String userpassword, String usersex, Integer userage, Set orderTables) {
        this.username = username;
        this.userpassword = userpassword;
        this.usersex = usersex;
        this.userage = userage;
        this.orderTables = orderTables;
    }

   
    // Property accessors

    public Integer getUserid() {
        return this.userid;
    }
    
    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpassword() {
        return this.userpassword;
    }
    
    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getUsersex() {
        return this.usersex;
    }
    
    public void setUsersex(String usersex) {
        this.usersex = usersex;
    }

    public Integer getUserage() {
        return this.userage;
    }
    
    public void setUserage(Integer userage) {
        this.userage = userage;
    }

    public Set getOrderTables() {
        return this.orderTables;
    }
    
    public void setOrderTables(Set orderTables) {
        this.orderTables = orderTables;
    }

	public String getReuserpassword() {
		return reuserpassword;
	}

	public void setReuserpassword(String reuserpassword) {
		this.reuserpassword = reuserpassword;
	}
   








}

⌨️ 快捷键说明

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