📄 zkkbean.java
字号:
package org.helpsoft.entity.zkk;
import java.io.Serializable;
import com.helpsoft.util.log.*;
/**
* The Zkk entity bean.
*
* @author cao guangxin - www.relationinfo.com
*
* @hibernate.class
* table="zkk"
*/
public class ZkkBean implements Serializable, ZkkIf {
/**
* The logger object.
*/
private static Logger log = LogService.getLogger(ZkkBean.class);
private java.lang.String hykbm;
private java.lang.String hykjb;
private java.lang.String zkl;
private java.lang.String jfqj1;
private java.lang.String jfqj2;
/**
* Default constructor.
*/
public ZkkBean() {
}
/**
* Value object constructor.
*/
public ZkkBean(org.helpsoft.entity.zkk.ZkkIf value) {
setHykbm(value.getHykbm());
setHykjb(value.getHykjb());
setZkl(value.getZkl());
setJfqj1(value.getJfqj1());
setJfqj2(value.getJfqj2());
}
/**
* Creates a new bean and returns the primary key.
* If the primary key of the value object has been set, this key will be used.
* If the primary key is set to null, Hibernate's increment id generator is used for integers and longs
* and the uuid.hex generator for strings.
*
* @param value a <code>ZkkIf</code>
* @return the primary key for this Zkk
*/
public java.lang.String create(org.helpsoft.entity.zkk.ZkkIf value) {
setHykbm(value.getHykbm());
setHykjb(value.getHykjb());
setZkl(value.getZkl());
setJfqj1(value.getJfqj1());
setJfqj2(value.getJfqj2());
return value.getPrimaryKey();
}
/**
* Return the primary key.
*
* @return java.lang.String with the primary key.
*/
public java.lang.String getPrimaryKey() {
return getHykbm();
}
/**
* Set the primary key.
*
* @param primaryKey the primary key
*/
public void setPrimaryKey(java.lang.String primaryKey) {
setHykbm(primaryKey);
}
/**
* Returns the value of the <code>hykbm</code> property.
*
* @hibernate.id
* generator-class="uuid.hex"
* length="32"
* column="hykbm"
*/
public java.lang.String getHykbm() {
return hykbm;
}
/**
* Sets the value of the <code>hykbm</code> property.
*
* @param hykbm the value for the <code>hykbm</code> property
*/
public void setHykbm(java.lang.String hykbm) {
this.hykbm = hykbm;
}
/**
* Returns the value of the <code>hykjb</code> property.
*
* @hibernate.property
* length="20"
* column="hykjb"
*/
public java.lang.String getHykjb() {
return hykjb;
}
/**
* Sets the value of the <code>hykjb</code> property.
*
* @param hykjb the value for the <code>hykjb</code> property
*/
public void setHykjb(java.lang.String hykjb) {
this.hykjb = hykjb;
}
/**
* Returns the value of the <code>zkl</code> property.
*
* @hibernate.property
* length="10"
* column="zkl"
*/
public java.lang.String getZkl() {
return zkl;
}
/**
* Sets the value of the <code>zkl</code> property.
*
* @param zkl the value for the <code>zkl</code> property
*/
public void setZkl(java.lang.String zkl) {
this.zkl = zkl;
}
/**
* Returns the value of the <code>jfqj1</code> property.
*
* @hibernate.property
* length="10"
* column="jfqj1"
*/
public java.lang.String getJfqj1() {
return jfqj1;
}
/**
* Sets the value of the <code>jfqj1</code> property.
*
* @param jfqj1 the value for the <code>jfqj1</code> property
*/
public void setJfqj1(java.lang.String jfqj1) {
this.jfqj1 = jfqj1;
}
/**
* Returns the value of the <code>jfqj2</code> property.
*
* @hibernate.property
* length="10"
* column="jfqj2"
*/
public java.lang.String getJfqj2() {
return jfqj2;
}
/**
* Sets the value of the <code>jfqj2</code> property.
*
* @param jfqj2 the value for the <code>jfqj2</code> property
*/
public void setJfqj2(java.lang.String jfqj2) {
this.jfqj2 = jfqj2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -