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

📄 roleagententity.java

📁 国内很牛的软件公司花费两年半开发的用EJB3开发的代码,采用STRUTS和EJB3,目前系统进行第二版.所以拿出来共享
💻 JAVA
字号:
package com.ufmobile.common.role.entity;

import java.io.Serializable;



@SuppressWarnings("serial") 

@javax.persistence.Entity
@javax.persistence.Table(name = "TB_COMMON_ROLEAGENT")
@javax.persistence.SequenceGenerator(name="TB_COMMON_ROLEUSR_SEQ", sequenceName="S_COMMON_ROLEAGENT", allocationSize=25) 
    
public class RoleAgentEntity implements Serializable {
   
   private Long id;

   /**
    * Get the primary key.
    *
    * @return The primary key.
   	* @javax.persistence.Id(generate = javax.persistence.GeneratorType.AUTO)
    */
   @javax.persistence.Id
   @javax.persistence.GeneratedValue(strategy=javax.persistence.GenerationType.SEQUENCE, generator="TB_COMMON_ROLEUSR_SEQ")
   @javax.persistence.Column(name = "ID")
   public Long getId() {
      return id;
   }

   /**
    * Set the primary key.
    *
    * @param id The primary key.
    */
   public void setId(Long id) {
      this.id = id;
   }

   /** Regular field. */
   private java.lang.Long roleid;

   /**
    * Get the roleid.
    *
    * @return The roleid.
    */
   @javax.persistence.Column(name = "ROLEID")
   public java.lang.Long getRoleid() {
      return roleid;
   }

   /**
    * Set the roleid.
    *
    * @param roleid The roleid.
    */
   public void setRoleid(java.lang.Long roleid) {
      this.roleid = roleid;
   }

   /** Regular field. */
   private java.lang.Long streetid;

   /**
    * Get the streetid.
    *
    * @return The streetid.
    */
   @javax.persistence.Column(name = "STREETID")
   public java.lang.Long getStreetid() {
      return streetid;
   }

   /**
    * Set the streetid.
    *
    * @param streetid The streetid.
    */
   public void setStreetid(java.lang.Long streetid) {
      this.streetid = streetid;
   }

   /** Regular field. */
   private java.lang.Long agentid;

   /**
    * Get the operateid.
    *
    * @return The operateid.
    */
   @javax.persistence.Column(name = "agentid")
   public java.lang.Long getagentid() {
      return agentid;
   }

   /**
    * Set the operateid.
    *
    * @param operateid The operateid.
    */
   public void setagentid(java.lang.Long operateid) {
      this.agentid = operateid;
   }
}

⌨️ 快捷键说明

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