⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 czkbean.java

📁 STRUTS数据库项目开发宝典
💻 JAVA
字号:
package org.helpsoft.entity.czk;

import java.io.Serializable;
import com.helpsoft.util.log.*;


/**
 * The Czk entity bean.
 *
 * @author cao guangxin - www.relationinfo.com
 *
 * @hibernate.class
 *         table="czk"
 */
public class CzkBean implements Serializable, CzkIf {

   /**
    * The logger object.
    */
   private static Logger log = LogService.getLogger(CzkBean.class);



   private java.lang.String hykbm;
   private java.lang.String hykmc;
   private java.lang.String yhdzl;
   private java.lang.String sjck;

   /**
    * Default constructor.
    */
   public CzkBean() {
   }

   /**
    * Value object constructor.
    */
   public CzkBean(org.helpsoft.entity.czk.CzkIf value) {
      setHykbm(value.getHykbm());
      setHykmc(value.getHykmc());
      setYhdzl(value.getYhdzl());
      setSjck(value.getSjck());
   }

   /**
    * 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>CzkIf</code>
    * @return the primary key for this Czk
    */
   public java.lang.String create(org.helpsoft.entity.czk.CzkIf value) {
      setHykbm(value.getHykbm());
      setHykmc(value.getHykmc());
      setYhdzl(value.getYhdzl());
      setSjck(value.getSjck());
      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="33"
    * 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>hykmc</code> property.
    *
    * @hibernate.property
    * length="50"
    * column="hykmc"
    */
   public java.lang.String getHykmc() {
      return hykmc;
   }

   /**
    * Sets the value of the <code>hykmc</code> property.
    *
    * @param hykmc the value for the <code>hykmc</code> property
    */
   public void setHykmc(java.lang.String hykmc) {
      this.hykmc = hykmc;
   }

   /**
    * Returns the value of the <code>yhdzl</code> property.
    *
    * @hibernate.property
    * length="5"
    * column="yhdzl"
    */
   public java.lang.String getYhdzl() {
      return yhdzl;
   }

   /**
    * Sets the value of the <code>yhdzl</code> property.
    *
    * @param yhdzl the value for the <code>yhdzl</code> property
    */
   public void setYhdzl(java.lang.String yhdzl) {
      this.yhdzl = yhdzl;
   }

   /**
    * Returns the value of the <code>sjck</code> property.
    *
    * @hibernate.property
    * length="50"
    * column="sjck"
    */
   public java.lang.String getSjck() {
      return sjck;
   }

   /**
    * Sets the value of the <code>sjck</code> property.
    *
    * @param sjck the value for the <code>sjck</code> property
    */
   public void setSjck(java.lang.String sjck) {
      this.sjck = sjck;
   }


}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -