📄 label.java
字号:
package cn.bway.admin.model;
/**
* LabelId generated by MyEclipse - Hibernate Tools
*/
public class Label implements java.io.Serializable {
// Fields
private String labelId;
private String label;
private String parentLabelId;
private Integer labelLevel;
private Integer orderid;
private String imageurl;
private String mapUrl;
private String parentid;
// Constructors
public String getParentid() {
return parentid;
}
public void setParentid(String parentid) {
this.parentid = parentid;
}
/** default constructor */
public Label() {
}
/** minimal constructor */
public Label(String labelId, String label, String parentLabelId, Integer labelLevel, Integer orderid) {
this.labelId = labelId;
this.label = label;
this.parentLabelId = parentLabelId;
this.labelLevel = labelLevel;
this.orderid = orderid;
}
// Property accessors
public String getLabelId() {
return this.labelId;
}
public void setLabelId(String labelId) {
this.labelId = labelId;
}
public String getLabel() {
return this.label;
}
public void setLabel(String label) {
this.label = label;
}
public String getParentLabelId() {
return this.parentLabelId;
}
public void setParentLabelId(String parentLabelId) {
this.parentLabelId = parentLabelId;
}
public Integer getLabelLevel() {
return this.labelLevel;
}
public void setLabelLevel(Integer labelLevel) {
this.labelLevel = labelLevel;
}
public Integer getOrderid() {
return this.orderid;
}
public void setOrderid(Integer orderid) {
this.orderid = orderid;
}
public String getImageurl() {
return this.imageurl;
}
public void setImageurl(String imageurl) {
this.imageurl = imageurl;
}
public String getMapUrl() {
return this.mapUrl;
}
public void setMapUrl(String mapUrl) {
this.mapUrl = mapUrl;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof Label) ) return false;
Label castOther = ( Label ) other;
return ( (this.getLabelId()==castOther.getLabelId()) || ( this.getLabelId()!=null && castOther.getLabelId()!=null && this.getLabelId().equals(castOther.getLabelId()) ) )
&& ( (this.getLabel()==castOther.getLabel()) || ( this.getLabel()!=null && castOther.getLabel()!=null && this.getLabel().equals(castOther.getLabel()) ) )
&& ( (this.getParentLabelId()==castOther.getParentLabelId()) || ( this.getParentLabelId()!=null && castOther.getParentLabelId()!=null && this.getParentLabelId().equals(castOther.getParentLabelId()) ) )
&& ( (this.getLabelLevel()==castOther.getLabelLevel()) || ( this.getLabelLevel()!=null && castOther.getLabelLevel()!=null && this.getLabelLevel().equals(castOther.getLabelLevel()) ) )
&& ( (this.getOrderid()==castOther.getOrderid()) || ( this.getOrderid()!=null && castOther.getOrderid()!=null && this.getOrderid().equals(castOther.getOrderid()) ) )
&& ( (this.getImageurl()==castOther.getImageurl()) || ( this.getImageurl()!=null && castOther.getImageurl()!=null && this.getImageurl().equals(castOther.getImageurl()) ) )
&& ( (this.getMapUrl()==castOther.getMapUrl()) || ( this.getMapUrl()!=null && castOther.getMapUrl()!=null && this.getMapUrl().equals(castOther.getMapUrl()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getLabelId() == null ? 0 : this.getLabelId().hashCode() );
result = 37 * result + ( getLabel() == null ? 0 : this.getLabel().hashCode() );
result = 37 * result + ( getParentLabelId() == null ? 0 : this.getParentLabelId().hashCode() );
result = 37 * result + ( getLabelLevel() == null ? 0 : this.getLabelLevel().hashCode() );
result = 37 * result + ( getOrderid() == null ? 0 : this.getOrderid().hashCode() );
result = 37 * result + ( getImageurl() == null ? 0 : this.getImageurl().hashCode() );
result = 37 * result + ( getMapUrl() == null ? 0 : this.getMapUrl().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -