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

📄 cardexentity.java

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

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

public class CardExEntity implements Serializable {

   /** Primary key. only Long type primary key is allowed in this modified program. --- Helloween. */
	
   private Long id;

   public CardExEntity(Long id, String code, Integer cardtype, String agent, Boolean islast, Boolean isover, BigDecimal moneny, BigDecimal usedmoneny, BigDecimal curmoneny, Boolean freeze, String cardoperator, Date opdate, String password, Date saledate, Integer dr) {
	this.id = id;
	this.code = code;
	this.cardtype = cardtype;
	this.agent = agent;
	this.islast = islast;
	this.isover = isover;
	this.moneny = moneny;
	this.usedmoneny = usedmoneny;
	this.curmoneny = curmoneny;
	this.freeze = freeze;
	this.cardoperator = cardoperator;
	this.opdate = opdate;
	this.password = password;
	this.saledate = saledate;
	this.dr = dr;
}

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.
    */
   
   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.
    */
   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.
    */
   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.
    */
   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.
    */
   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.
    */
   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.
    */
   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.
    */
   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.
    */
   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.
    */
   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.sql.Date opdate;

   /**
    * Get the opdate.
    *
    * @return The opdate.
    */
   public java.sql.Date getOpdate() {
      return opdate;
   }

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

   /**
    * Get the cardoperator.
    *
    * @return The cardoperator.
    */
   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.sql.Date saledate;

   /**
    * Get the opdate.
    *
    * @return The opdate.
    */
   public java.sql.Date getSaledate() {
      return saledate;
   }

   /**
    * Set the opdate.
    *
    * @param opdate The opdate.
    */
   public void setSaledate(java.sql.Date saledate) {
      this.saledate = saledate;
   }
   /** Regular field. */
   private Integer dr;

   /**
    * Get the dr.
    *
    * @return The dr.
    */
   public Integer getDR() {
      return dr;
   }

   /**
    * Set the dr.
    *
    * @param freeze The dr.
    */
   public void setDR(Integer dr) {
      this.dr = dr;
   }
}

⌨️ 快捷键说明

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