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

📄 membersid.java

📁 这是我做的一个Struts+Hibernate+Spring整合的例子 和大家分享一下
💻 JAVA
字号:
package com.thinkingfly.yz.po;



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

public class MembersId  implements java.io.Serializable {


    // Fields    

     private Integer mid;
     private String user;
     private String passwd;
     private Byte groupid;
     private Byte isAuditing;
     private String email;
     private String linkman;
     private String contactPhone;
     private String faxes;
     private String postcode;
     private String organName;
     private String licence;
     private String particularAddress;
     private String community;
     private String seat;


    // Constructors

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

    
    /** full constructor */
    public MembersId(Integer mid, String user, String passwd, Byte groupid, Byte isAuditing, String email, String linkman, String contactPhone, String faxes, String postcode, String organName, String licence, String particularAddress, String community, String seat) {
        this.mid = mid;
        this.user = user;
        this.passwd = passwd;
        this.groupid = groupid;
        this.isAuditing = isAuditing;
        this.email = email;
        this.linkman = linkman;
        this.contactPhone = contactPhone;
        this.faxes = faxes;
        this.postcode = postcode;
        this.organName = organName;
        this.licence = licence;
        this.particularAddress = particularAddress;
        this.community = community;
        this.seat = seat;
    }

   
    // Property accessors

    public Integer getMid() {
        return this.mid;
    }
    
    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getUser() {
        return this.user;
    }
    
    public void setUser(String user) {
        this.user = user;
    }

    public String getPasswd() {
        return this.passwd;
    }
    
    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public Byte getGroupid() {
        return this.groupid;
    }
    
    public void setGroupid(Byte groupid) {
        this.groupid = groupid;
    }

    public Byte getIsAuditing() {
        return this.isAuditing;
    }
    
    public void setIsAuditing(Byte isAuditing) {
        this.isAuditing = isAuditing;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getLinkman() {
        return this.linkman;
    }
    
    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getContactPhone() {
        return this.contactPhone;
    }
    
    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getFaxes() {
        return this.faxes;
    }
    
    public void setFaxes(String faxes) {
        this.faxes = faxes;
    }

    public String getPostcode() {
        return this.postcode;
    }
    
    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getOrganName() {
        return this.organName;
    }
    
    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public String getLicence() {
        return this.licence;
    }
    
    public void setLicence(String licence) {
        this.licence = licence;
    }

    public String getParticularAddress() {
        return this.particularAddress;
    }
    
    public void setParticularAddress(String particularAddress) {
        this.particularAddress = particularAddress;
    }

    public String getCommunity() {
        return this.community;
    }
    
    public void setCommunity(String community) {
        this.community = community;
    }

    public String getSeat() {
        return this.seat;
    }
    
    public void setSeat(String seat) {
        this.seat = seat;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof MembersId) ) return false;
		 MembersId castOther = ( MembersId ) other; 
         
		 return ( (this.getMid()==castOther.getMid()) || ( this.getMid()!=null && castOther.getMid()!=null && this.getMid().equals(castOther.getMid()) ) ) && ( (this.getUser()==castOther.getUser()) || ( this.getUser()!=null && castOther.getUser()!=null && this.getUser().equals(castOther.getUser()) ) ) && ( (this.getPasswd()==castOther.getPasswd()) || ( this.getPasswd()!=null && castOther.getPasswd()!=null && this.getPasswd().equals(castOther.getPasswd()) ) ) && ( (this.getGroupid()==castOther.getGroupid()) || ( this.getGroupid()!=null && castOther.getGroupid()!=null && this.getGroupid().equals(castOther.getGroupid()) ) ) && ( (this.getIsAuditing()==castOther.getIsAuditing()) || ( this.getIsAuditing()!=null && castOther.getIsAuditing()!=null && this.getIsAuditing().equals(castOther.getIsAuditing()) ) ) && ( (this.getEmail()==castOther.getEmail()) || ( this.getEmail()!=null && castOther.getEmail()!=null && this.getEmail().equals(castOther.getEmail()) ) ) && ( (this.getLinkman()==castOther.getLinkman()) || ( this.getLinkman()!=null && castOther.getLinkman()!=null && this.getLinkman().equals(castOther.getLinkman()) ) ) && ( (this.getContactPhone()==castOther.getContactPhone()) || ( this.getContactPhone()!=null && castOther.getContactPhone()!=null && this.getContactPhone().equals(castOther.getContactPhone()) ) ) && ( (this.getFaxes()==castOther.getFaxes()) || ( this.getFaxes()!=null && castOther.getFaxes()!=null && this.getFaxes().equals(castOther.getFaxes()) ) ) && ( (this.getPostcode()==castOther.getPostcode()) || ( this.getPostcode()!=null && castOther.getPostcode()!=null && this.getPostcode().equals(castOther.getPostcode()) ) ) && ( (this.getOrganName()==castOther.getOrganName()) || ( this.getOrganName()!=null && castOther.getOrganName()!=null && this.getOrganName().equals(castOther.getOrganName()) ) ) && ( (this.getLicence()==castOther.getLicence()) || ( this.getLicence()!=null && castOther.getLicence()!=null && this.getLicence().equals(castOther.getLicence()) ) ) && ( (this.getParticularAddress()==castOther.getParticularAddress()) || ( this.getParticularAddress()!=null && castOther.getParticularAddress()!=null && this.getParticularAddress().equals(castOther.getParticularAddress()) ) ) && ( (this.getCommunity()==castOther.getCommunity()) || ( this.getCommunity()!=null && castOther.getCommunity()!=null && this.getCommunity().equals(castOther.getCommunity()) ) ) && ( (this.getSeat()==castOther.getSeat()) || ( this.getSeat()!=null && castOther.getSeat()!=null && this.getSeat().equals(castOther.getSeat()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getMid() == null ? 0 : this.getMid().hashCode() );
         result = 37 * result + ( getUser() == null ? 0 : this.getUser().hashCode() );
         result = 37 * result + ( getPasswd() == null ? 0 : this.getPasswd().hashCode() );
         result = 37 * result + ( getGroupid() == null ? 0 : this.getGroupid().hashCode() );
         result = 37 * result + ( getIsAuditing() == null ? 0 : this.getIsAuditing().hashCode() );
         result = 37 * result + ( getEmail() == null ? 0 : this.getEmail().hashCode() );
         result = 37 * result + ( getLinkman() == null ? 0 : this.getLinkman().hashCode() );
         result = 37 * result + ( getContactPhone() == null ? 0 : this.getContactPhone().hashCode() );
         result = 37 * result + ( getFaxes() == null ? 0 : this.getFaxes().hashCode() );
         result = 37 * result + ( getPostcode() == null ? 0 : this.getPostcode().hashCode() );
         result = 37 * result + ( getOrganName() == null ? 0 : this.getOrganName().hashCode() );
         result = 37 * result + ( getLicence() == null ? 0 : this.getLicence().hashCode() );
         result = 37 * result + ( getParticularAddress() == null ? 0 : this.getParticularAddress().hashCode() );
         result = 37 * result + ( getCommunity() == null ? 0 : this.getCommunity().hashCode() );
         result = 37 * result + ( getSeat() == null ? 0 : this.getSeat().hashCode() );
         return result;
   }   





}

⌨️ 快捷键说明

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