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

📄 tbuser.java

📁 Struts2一个应用示例。主要是加深对Struts2d的一个理解。希望对初学者有所帮助。
💻 JAVA
字号:
package com.po;

import java.util.HashSet;
import java.util.Set;


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

public class TbUser  implements java.io.Serializable {


    // Fields    

     private Integer userId;
     private String userName;
     private String userPassword;
     private Integer userType;
     private Set tbApproves = new HashSet(0);
     private Set tbBaoxiaos = new HashSet(0);


    // Constructors

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

    
    /** full constructor */
    public TbUser(String userName, String userPassword, Integer userType, Set tbApproves, Set tbBaoxiaos) {
        this.userName = userName;
        this.userPassword = userPassword;
        this.userType = userType;
        this.tbApproves = tbApproves;
        this.tbBaoxiaos = tbBaoxiaos;
    }

   
    // 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 Integer getUserType() {
        return this.userType;
    }
    
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Set getTbApproves() {
        return this.tbApproves;
    }
    
    public void setTbApproves(Set tbApproves) {
        this.tbApproves = tbApproves;
    }

    public Set getTbBaoxiaos() {
        return this.tbBaoxiaos;
    }
    
    public void setTbBaoxiaos(Set tbBaoxiaos) {
        this.tbBaoxiaos = tbBaoxiaos;
    }
   








}

⌨️ 快捷键说明

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