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

📄 cardlogentity.java

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

import java.io.Serializable;
import java.math.BigDecimal;


@SuppressWarnings("serial") 

@javax.persistence.Entity
@javax.persistence.Table(name = "TB_BUSINESS_CARDLOG")
@javax.persistence.SequenceGenerator(name="TB_BUSINESS_CARDLOG_SEQ", sequenceName="S_BUSINESS_CARDLOG", allocationSize=25) 
    
public class CardlogEntity 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_BUSINESS_CARDLOG_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.String code;

   /**
    * Get the code.
    *
    * @return The code.
    */
   @javax.persistence.Column(name = "CODE")
   public java.lang.String getCode() {
      return code;
   }

   /**
    * Set the code.
    *
    * @param code The code.
    */
   public void setCode(java.lang.String code) {
      this.code = code;
   }

   /** Regular field. */
   private Integer cardtype;

   /**
    * Get the cardtype.
    *
    * @return The cardtype.
    */
   @javax.persistence.Column(name = "CARDTYPE")
   public Integer getCardtype() {
      return cardtype;
   }

   /**
    * Set the cardtype.
    *
    * @param cardtype The cardtype.
    */
   public void setCardtype(Integer cardtype) {
      this.cardtype = cardtype;
   }

   /** Regular field. */
   private String agent;

   /**
    * Get the agent.
    *
    * @return The agent.
    */
   @javax.persistence.Column(name = "AGENT")
   public String getAgent() {
      return agent;
   }

   /**
    * Set the agent.
    *
    * @param agent The agent.
    */
   public void setAgent(String agent) {
      this.agent = agent;
   }

   /** Regular field. */
   private Boolean islast;

   /**
    * Get the islast.
    *
    * @return The islast.
    */
   @javax.persistence.Column(name = "ISLAST")
   public Boolean getIslast() {
      return islast;
   }

   /**
    * Set the islast.
    *
    * @param islast The islast.
    */
   public void setIslast(Boolean islast) {
      this.islast = islast;
   }

   /** Regular field. */
   private Boolean isover;

   /**
    * Get the isover.
    *
    * @return The isover.
    */
   @javax.persistence.Column(name = "ISOVER")
   public Boolean getIsover() {
      return isover;
   }

   /**
    * Set the isover.
    *
    * @param isover The isover.
    */
   public void setIsover(Boolean isover) {
      this.isover = isover;
   }

   /** Regular field. */
   private java.math.BigDecimal moneny;

   /**
    * Get the moneny.
    *
    * @return The moneny.
    */
   @javax.persistence.Column(name = "MONENY")
   public java.math.BigDecimal getMoneny() {
	   if (moneny==null) return new BigDecimal(0);
      return moneny;
   }

   /**
    * Set the moneny.
    *
    * @param moneny The moneny.
    */
   public void setMoneny(java.math.BigDecimal moneny) {
      this.moneny = moneny;
   }

   /** Regular field. */
   private java.math.BigDecimal usedmoneny;

   /**
    * Get the usedmoneny.
    *
    * @return The usedmoneny.
    */
   @javax.persistence.Column(name = "USEDMONENY")
   public java.math.BigDecimal getUsedmoneny() {
	   if (usedmoneny==null) return new BigDecimal(0);
      return usedmoneny;
   }

   /**
    * Set the usedmoneny.
    *
    * @param usedmoneny The usedmoneny.
    */
   public void setUsedmoneny(java.math.BigDecimal usedmoneny) {
      this.usedmoneny = usedmoneny;
   }

   /** Regular field. */
   private java.math.BigDecimal curmoneny;

   /**
    * Get the curmoneny.
    *
    * @return The curmoneny.
    */
   @javax.persistence.Column(name = "CURMONENY")
   public java.math.BigDecimal getCurmoneny() {
	   if (curmoneny==null) return new BigDecimal(0);
      return curmoneny;
   }

   /**
    * Set the curmoneny.
    *
    * @param curmoneny The curmoneny.
    */
   public void setCurmoneny(java.math.BigDecimal curmoneny) {
      this.curmoneny = curmoneny;
   }

   /** Regular field. */
   private Boolean freeze;

   /**
    * Get the freeze.
    *
    * @return The freeze.
    */
   @javax.persistence.Column(name = "FREEZE")
   public Boolean getFreeze() {
      return freeze;
   }

   /**
    * Set the freeze.
    *
    * @param freeze The freeze.
    */
   public void setFreeze(Boolean freeze) {
      this.freeze = freeze;
   }

   /** Regular field. */
   private java.lang.String cardoperator;

   /**
    * Get the cardoperator.
    *
    * @return The cardoperator.
    */
   @javax.persistence.Column(name = "CARDOPERATOR")
   public java.lang.String getCardoperator() {
      return cardoperator;
   }

   /**
    * Set the cardoperator.
    *
    * @param cardoperator The cardoperator.
    */
   public void setCardoperator(java.lang.String cardoperator) {
      this.cardoperator = cardoperator;
   }

   /** Regular field. */
   private java.util.Date opdate;

   /**
    * Get the opdate.
    *
    * @return The opdate.
    */
   @javax.persistence.Column(name = "OPDATE")
   public java.util.Date getOpdate() {
      return opdate;
   }

   /**
    * Set the opdate.
    *
    * @param opdate The opdate.
    */
   public void setOpdate(java.util.Date opdate) {
      this.opdate = opdate;
   }
   
   /** Regular field.  pssword   */
   private java.lang.String password;

   /**
    * Get the cardoperator.
    *
    * @return The cardoperator.
    */
   @javax.persistence.Column(name = "pssword")
   public java.lang.String getPassword() {
      return password;
   }

   /**
    * Set the cardoperator.
    *
    * @param cardoperator The cardoperator.
    */
   public void setPassword(java.lang.String password) {
      this.password = password;
   }

   /** Regular field. */
   private java.util.Date saledate;

   /**
    * Get the opdate.
    *
    * @return The opdate.
    */
   @javax.persistence.Column(name = "saledate")
   public java.util.Date getSaledate() {
      return saledate;
   }

   /**
    * Set the opdate.
    *
    * @param opdate The opdate.
    */
   public void setSaledate(java.util.Date saledate) {
      this.saledate = saledate;
   }
   
	private java.lang.String accountId;

	@javax.persistence.Column(name = "ACCOUNTID")
	public java.lang.String getAccountId() {
		return accountId;
	}

	public void setAccountId(java.lang.String accountId) {
		this.accountId = accountId;
	}
}

⌨️ 快捷键说明

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