📄 basecrefourm.java
字号:
package cn.hope.front.pojo.base;
import java.io.Serializable;
/**
* This is an object that contains data related to the c_refourm table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hibernate.class
* table="c_refourm"
*/
public abstract class BaseCRefourm implements Serializable {
public static String REF = "CRefourm";
public static String PROP_FLAG = "flag";
public static String PROP_T_CONTENT = "TContent";
public static String PROP_T_TIME = "TTime";
// constructors
public BaseCRefourm () {
initialize();
}
/**
* Constructor for primary key
*/
public BaseCRefourm (java.lang.Integer tResponsesid) {
this.setTResponsesid(tResponsesid);
initialize();
}
/**
* Constructor for required fields
*/
public BaseCRefourm (
java.lang.Integer tResponsesid,
java.lang.String flag,
java.lang.String tContent,
java.util.Date tTime) {
this.setTResponsesid(tResponsesid);
this.setFlag(flag);
this.setTContent(tContent);
this.setTTime(tTime);
initialize();
}
protected void initialize () {}
private int hashCode = Integer.MIN_VALUE;
// primary key
private java.lang.Integer tResponsesid;
// fields
private java.lang.String flag;
private java.lang.String tContent;
private java.util.Date tTime;
// many to one
private cn.hope.front.pojo.Student student;
private cn.hope.front.pojo.CFourm cFourm;
private cn.hope.front.pojo.TInfo tInfo;
/**
* Return the unique identifier of this class
* @hibernate.id
* generator-class="identity"
* column="t_responsesid"
*/
public java.lang.Integer getTResponsesid () {
return tResponsesid;
}
/**
* Set the unique identifier of this class
* @param tResponsesid the new ID
*/
public void setTResponsesid (java.lang.Integer tResponsesid) {
this.tResponsesid = tResponsesid;
this.hashCode = Integer.MIN_VALUE;
}
/**
* Return the value associated with the column: flag
*/
public java.lang.String getFlag () {
return flag;
}
/**
* Set the value related to the column: flag
* @param flag the flag value
*/
public void setFlag (java.lang.String flag) {
this.flag = flag;
}
/**
* Return the value associated with the column: t_content
*/
public java.lang.String getTContent () {
return tContent;
}
/**
* Set the value related to the column: t_content
* @param tContent the t_content value
*/
public void setTContent (java.lang.String tContent) {
this.tContent = tContent;
}
/**
* Return the value associated with the column: t_time
*/
public java.util.Date getTTime () {
return tTime;
}
/**
* Set the value related to the column: t_time
* @param tTime the t_time value
*/
public void setTTime (java.util.Date tTime) {
this.tTime = tTime;
}
/**
* Return the value associated with the column: s_username
*/
public cn.hope.front.pojo.Student getStudent () {
return student;
}
/**
* Set the value related to the column: s_username
* @param student the s_username value
*/
public void setStudent (cn.hope.front.pojo.Student student) {
this.student = student;
}
/**
* Return the value associated with the column: t_topicid
*/
public cn.hope.front.pojo.CFourm getCFourm () {
return cFourm;
}
/**
* Set the value related to the column: t_topicid
* @param cFourm the t_topicid value
*/
public void setCFourm (cn.hope.front.pojo.CFourm cFourm) {
this.cFourm = cFourm;
}
/**
* Return the value associated with the column: t_id
*/
public cn.hope.front.pojo.TInfo getTInfo () {
return tInfo;
}
/**
* Set the value related to the column: t_id
* @param tInfo the t_id value
*/
public void setTInfo (cn.hope.front.pojo.TInfo tInfo) {
this.tInfo = tInfo;
}
public boolean equals (Object obj) {
if (null == obj) return false;
if (!(obj instanceof cn.hope.front.pojo.CRefourm)) return false;
else {
cn.hope.front.pojo.CRefourm cRefourm = (cn.hope.front.pojo.CRefourm) obj;
if (null == this.getTResponsesid() || null == cRefourm.getTResponsesid()) return false;
else return (this.getTResponsesid().equals(cRefourm.getTResponsesid()));
}
}
public int hashCode () {
if (Integer.MIN_VALUE == this.hashCode) {
if (null == this.getTResponsesid()) return super.hashCode();
else {
String hashStr = this.getClass().getName() + ":" + this.getTResponsesid().hashCode();
this.hashCode = hashStr.hashCode();
}
}
return this.hashCode;
}
public String toString () {
return super.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -