📄 rights.java
字号:
package cn.bway.admin.model;
/**
* RightsId generated by MyEclipse - Hibernate Tools
*/
public class Rights implements java.io.Serializable {
// Fields
private String rightid;
private String rightname;
private String righturl;
private Integer orderid;
private String labelId;
private String rightdesc;
// Constructors
/** default constructor */
public Rights() {
}
/** minimal constructor */
public Rights(String rightid, String rightname, String labelId) {
this.rightid = rightid;
this.rightname = rightname;
this.labelId = labelId;
}
// Property accessors
public String getRightid() {
return this.rightid;
}
public void setRightid(String rightid) {
this.rightid = rightid;
}
public String getRightname() {
return this.rightname;
}
public void setRightname(String rightname) {
this.rightname = rightname;
}
public String getRighturl() {
return this.righturl;
}
public void setRighturl(String righturl) {
this.righturl = righturl;
}
public Integer getOrderid() {
return this.orderid;
}
public void setOrderid(Integer orderid) {
this.orderid = orderid;
}
public String getLabelId() {
return this.labelId;
}
public void setLabelId(String labelId) {
this.labelId = labelId;
}
public String getRightdesc() {
return this.rightdesc;
}
public void setRightdesc(String rightdesc) {
this.rightdesc = rightdesc;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof Rights) ) return false;
Rights castOther = ( Rights ) other;
return ( (this.getRightid()==castOther.getRightid()) || ( this.getRightid()!=null && castOther.getRightid()!=null && this.getRightid().equals(castOther.getRightid()) ) )
&& ( (this.getRightname()==castOther.getRightname()) || ( this.getRightname()!=null && castOther.getRightname()!=null && this.getRightname().equals(castOther.getRightname()) ) )
&& ( (this.getRighturl()==castOther.getRighturl()) || ( this.getRighturl()!=null && castOther.getRighturl()!=null && this.getRighturl().equals(castOther.getRighturl()) ) )
&& ( (this.getOrderid()==castOther.getOrderid()) || ( this.getOrderid()!=null && castOther.getOrderid()!=null && this.getOrderid().equals(castOther.getOrderid()) ) )
&& ( (this.getLabelId()==castOther.getLabelId()) || ( this.getLabelId()!=null && castOther.getLabelId()!=null && this.getLabelId().equals(castOther.getLabelId()) ) )
&& ( (this.getRightdesc()==castOther.getRightdesc()) || ( this.getRightdesc()!=null && castOther.getRightdesc()!=null && this.getRightdesc().equals(castOther.getRightdesc()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getRightid() == null ? 0 : this.getRightid().hashCode() );
result = 37 * result + ( getRightname() == null ? 0 : this.getRightname().hashCode() );
result = 37 * result + ( getRighturl() == null ? 0 : this.getRighturl().hashCode() );
result = 37 * result + ( getOrderid() == null ? 0 : this.getOrderid().hashCode() );
result = 37 * result + ( getLabelId() == null ? 0 : this.getLabelId().hashCode() );
result = 37 * result + ( getRightdesc() == null ? 0 : this.getRightdesc().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -