📄 basemsy.java
字号:
package cn.hope.mana.pojo.base;
import java.io.Serializable;
/**
* This is an object that contains data related to the m_sys table.
* Do not modify this class because it will be overwritten if the configuration file
* related to this class is modified.
*
* @hibernate.class
* table="m_sys"
*/
public abstract class BaseMSy implements Serializable {
public static String REF = "MSy";
public static String PROP_BACK_CLOSE = "backClose";
public static String PROP_BACK_INF = "backInf";
public static String PROP_DISK_SIZE = "diskSize";
public static String PROP_FLAG = "flag";
public static String PROP_FRONT_CLOSE = "frontClose";
public static String PROP_FRONT_INF = "frontInf";
public static String PROP_LOG_VALIDATE = "logValidate";
public static String PROP_NOTE_COUNT = "noteCount";
public static String PROP_PAGE_COUNT = "pageCount";
public static String PROP_UPFILE_SIZE = "upfileSize";
public static String PROP_UP_TYPE = "upType";
public static String PROP_UP_COUNT = "upCount";
// constructors
public BaseMSy () {
initialize();
}
/**
* Constructor for primary key
*/
public BaseMSy (java.lang.Integer sId) {
this.setSId(sId);
initialize();
}
/**
* Constructor for required fields
*/
public BaseMSy (
java.lang.Integer sId,
java.lang.String backClose,
java.lang.Integer diskSize,
java.lang.String flag,
java.lang.String frontClose,
java.lang.String logValidate,
java.lang.Integer noteCount,
java.lang.Integer pageCount) {
this.setSId(sId);
this.setBackClose(backClose);
this.setDiskSize(diskSize);
this.setFlag(flag);
this.setFrontClose(frontClose);
this.setLogValidate(logValidate);
this.setNoteCount(noteCount);
this.setPageCount(pageCount);
initialize();
}
protected void initialize () {}
private int hashCode = Integer.MIN_VALUE;
// primary key
private java.lang.Integer sId;
// fields
private java.lang.String backClose;
private java.lang.String backInf;
private java.lang.Integer diskSize;
private java.lang.String flag;
private java.lang.String frontClose;
private java.lang.String frontInf;
private java.lang.String logValidate;
private java.lang.Integer noteCount;
private java.lang.Integer pageCount;
private java.lang.Integer upfileSize;
private java.lang.String upType;
private java.lang.Integer upCount;
/**
* Return the unique identifier of this class
* @hibernate.id
* generator-class="identity"
* column="s_id"
*/
public java.lang.Integer getSId () {
return sId;
}
/**
* Set the unique identifier of this class
* @param sId the new ID
*/
public void setSId (java.lang.Integer sId) {
this.sId = sId;
this.hashCode = Integer.MIN_VALUE;
}
/**
* Return the value associated with the column: back_close
*/
public java.lang.String getBackClose () {
return backClose;
}
/**
* Set the value related to the column: back_close
* @param backClose the back_close value
*/
public void setBackClose (java.lang.String backClose) {
this.backClose = backClose;
}
/**
* Return the value associated with the column: back_inf
*/
public java.lang.String getBackInf () {
return backInf;
}
/**
* Set the value related to the column: back_inf
* @param backInf the back_inf value
*/
public void setBackInf (java.lang.String backInf) {
this.backInf = backInf;
}
/**
* Return the value associated with the column: disk_size
*/
public java.lang.Integer getDiskSize () {
return diskSize;
}
/**
* Set the value related to the column: disk_size
* @param diskSize the disk_size value
*/
public void setDiskSize (java.lang.Integer diskSize) {
this.diskSize = diskSize;
}
/**
* 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: front_close
*/
public java.lang.String getFrontClose () {
return frontClose;
}
/**
* Set the value related to the column: front_close
* @param frontClose the front_close value
*/
public void setFrontClose (java.lang.String frontClose) {
this.frontClose = frontClose;
}
/**
* Return the value associated with the column: front_inf
*/
public java.lang.String getFrontInf () {
return frontInf;
}
/**
* Set the value related to the column: front_inf
* @param frontInf the front_inf value
*/
public void setFrontInf (java.lang.String frontInf) {
this.frontInf = frontInf;
}
/**
* Return the value associated with the column: log_validate
*/
public java.lang.String getLogValidate () {
return logValidate;
}
/**
* Set the value related to the column: log_validate
* @param logValidate the log_validate value
*/
public void setLogValidate (java.lang.String logValidate) {
this.logValidate = logValidate;
}
/**
* Return the value associated with the column: note_count
*/
public java.lang.Integer getNoteCount () {
return noteCount;
}
/**
* Set the value related to the column: note_count
* @param noteCount the note_count value
*/
public void setNoteCount (java.lang.Integer noteCount) {
this.noteCount = noteCount;
}
/**
* Return the value associated with the column: page_count
*/
public java.lang.Integer getPageCount () {
return pageCount;
}
/**
* Set the value related to the column: page_count
* @param pageCount the page_count value
*/
public void setPageCount (java.lang.Integer pageCount) {
this.pageCount = pageCount;
}
/**
* Return the value associated with the column: upfile_size
*/
public java.lang.Integer getUpfileSize () {
return upfileSize;
}
/**
* Set the value related to the column: upfile_size
* @param upfileSize the upfile_size value
*/
public void setUpfileSize (java.lang.Integer upfileSize) {
this.upfileSize = upfileSize;
}
/**
* Return the value associated with the column: up_type
*/
public java.lang.String getUpType () {
return upType;
}
/**
* Set the value related to the column: up_type
* @param upType the up_type value
*/
public void setUpType (java.lang.String upType) {
this.upType = upType;
}
/**
* Return the value associated with the column: up_count
*/
public java.lang.Integer getUpCount () {
return upCount;
}
/**
* Set the value related to the column: up_count
* @param upCount the up_count value
*/
public void setUpCount (java.lang.Integer upCount) {
this.upCount = upCount;
}
public boolean equals (Object obj) {
if (null == obj) return false;
if (!(obj instanceof cn.hope.mana.pojo.MSy)) return false;
else {
cn.hope.mana.pojo.MSy mSy = (cn.hope.mana.pojo.MSy) obj;
if (null == this.getSId() || null == mSy.getSId()) return false;
else return (this.getSId().equals(mSy.getSId()));
}
}
public int hashCode () {
if (Integer.MIN_VALUE == this.hashCode) {
if (null == this.getSId()) return super.hashCode();
else {
String hashStr = this.getClass().getName() + ":" + this.getSId().hashCode();
this.hashCode = hashStr.hashCode();
}
}
return this.hashCode;
}
public String toString () {
return super.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -