?? abstractuserpower.java
字號(hào):
package com.xaccp.biz.po;
// default package
/**
* AbstractUserPower generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractUserPower implements java.io.Serializable {
// Fields
private Integer id;
private Power tblPower;
private User tblUser;
private Integer state;
// Constructors
/** default constructor */
public AbstractUserPower() {
}
/** full constructor */
public AbstractUserPower(Power tblPower, User tblUser, Integer state) {
this.tblPower = tblPower;
this.tblUser = tblUser;
this.state = state;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Power getTblPower() {
return this.tblPower;
}
public void setTblPower(Power tblPower) {
this.tblPower = tblPower;
}
public User getTblUser() {
return this.tblUser;
}
public void setTblUser(User tblUser) {
this.tblUser = tblUser;
}
public Integer getState() {
return this.state;
}
public void setState(Integer state) {
this.state = state;
}
@Override
public int hashCode() {
final int PRIME = 31;
int result = 1;
result = PRIME * result + ((id == null) ? 0 : id.hashCode());
result = PRIME * result + ((tblPower == null) ? 0 : tblPower.hashCode());
result = PRIME * result + ((tblUser == null) ? 0 : tblUser.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
final AbstractUserPower other = (AbstractUserPower) obj;
if (id == null) {
if (other.id != null)
return false;
} else if (!id.equals(other.id))
return false;
if (tblPower == null) {
if (other.tblPower != null)
return false;
} else if (!tblPower.equals(other.tblPower))
return false;
if (tblUser == null) {
if (other.tblUser != null)
return false;
} else if (!tblUser.equals(other.tblUser))
return false;
return true;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -