tbuser.java

来自「Struts2一个应用示例。主要是加深对Struts2d的一个理解。希望对初学者」· Java 代码 · 共 99 行

JAVA
99
字号
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 + =
减小字号Ctrl + -
显示快捷键?