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

📄 mtsubmit.java

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

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


@Entity
@Table(name = "TB_SMS_MTSUBMIT")

public class MTSubmit implements Serializable{

	static final long serialVersionUID = -8644249446154051426L;
	
	private int id;
	private int citymallid;
	private String spmainnumber;
	private String port;
	private String seqno;
	private String batchno; 
	private int partseq;
	private int usernumbercnt;
	private String usernumberlist;
	private String msgcontent;
	private int prilevel;
	private int needreport;
	private int batchsend;
	private int ischarge;
	private int srvaction;
	private String serviceid;
	private String linkid;
	private Date submittime;
	private int smstype;
	private String url;
	private int doneflag;
	private String accountId;
	
	@Column(name = "ACCOUNTID")
	public String getAccountId() {
		return accountId;
	}

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

	@SequenceGenerator(name="ID_SEQ", sequenceName="S_SMS_MTSUBMIT", allocationSize = 1)
	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="ID_SEQ")	
	@Column(name = "ID")	
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	
	/**
	 * @param id the id to set
	 */
	
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the batchno
	 */
	@Column(name = "BATCHNO")
	public String getBatchno() {
		return batchno;
	}
	/**
	 * @param batchno the batchno to set
	 */
	public void setBatchno(String batchno) {
		this.batchno = batchno;
	}
	/**
	 * @return the batchsend
	 */
	@Column(name = "BATCHSEND")
	public int getBatchsend() {
		return batchsend;
	}
	/**
	 * @param batchsend the batchsend to set
	 */
	public void setBatchsend(int batchsend) {
		this.batchsend = batchsend;
	}
	/**
	 * @return the citymallid
	 */
	@Column(name = "CITYMALLID")
	public int getCitymallid() {
		return citymallid;
	}
	/**
	 * @param citymallid the citymallid to set
	 */
	public void setCitymallid(int citymallid) {
		this.citymallid = citymallid;
	}
	/**
	 * @return the doneflag
	 */
	@Column(name = "DONEFLAG")
	public int getDoneflag() {
		return doneflag;
	}
	/**
	 * @param doneflag the doneflag to set
	 */
	public void setDoneflag(int doneflag) {
		this.doneflag = doneflag;
	}
	/**
	 * @return the ischarge
	 */
	@Column(name = "ISCHARGE")
	public int getIscharge() {
		return ischarge;
	}
	/**
	 * @param ischarge the ischarge to set
	 */
	public void setIscharge(int ischarge) {
		this.ischarge = ischarge;
	}
	/**
	 * @return the linkid
	 */
	@Column(name = "LINKID")
	public String getLinkid() {
		return linkid;
	}
	/**
	 * @param linkid the linkid to set
	 */
	public void setLinkid(String linkid) {
		this.linkid = linkid;
	}
	/**
	 * @return the msgcontent
	 */
	@Column(name = "MSGCONTENT")
	public String getMsgcontent() {
		return msgcontent;
	}
	/**
	 * @param msgcontent the msgcontent to set
	 */
	public void setMsgcontent(String msgcontent) {
		this.msgcontent = msgcontent;
	}
	/**
	 * @return the needreport
	 */
	@Column(name = "NEEDREPORT")
	public int getNeedreport() {
		return needreport;
	}
	/**
	 * @param needreport the needreport to set
	 */
	public void setNeedreport(int needreport) {
		this.needreport = needreport;
	}
	/**
	 * @return the partseq
	 */
	@Column(name = "PARTSEQ")
	public int getPartseq() {
		return partseq;
	}
	/**
	 * @param partseq the partseq to set
	 */
	public void setPartseq(int partseq) {
		this.partseq = partseq;
	}
	/**
	 * @return the port
	 */
	@Column(name = "PORT")
	public String getPort() {
		return port;
	}
	/**
	 * @param port the port to set
	 */
	public void setPort(String port) {
		this.port = port;
	}
	/**
	 * @return the prilevel
	 */
	@Column(name = "PRILEVEL")
	public int getPrilevel() {
		return prilevel;
	}
	/**
	 * @param prilevel the prilevel to set
	 */
	public void setPrilevel(int prilevel) {
		this.prilevel = prilevel;
	}
	/**
	 * @return the seqno
	 */
	@Column(name = "SEQNO")
	public String getSeqno() {
		return seqno;
	}
	/**
	 * @param seqno the seqno to set
	 */
	public void setSeqno(String seqno) {
		this.seqno = seqno;
	}
	/**
	 * @return the serviceid
	 */
	@Column(name = "SERVICEID")
	public String getServiceid() {
		return serviceid;
	}
	/**
	 * @param serviceid the serviceid to set
	 */
	public void setServiceid(String serviceid) {
		this.serviceid = serviceid;
	}
	/**
	 * @return the smstype
	 */
	@Column(name = "SMSTYPE")
	public int getSmstype() {
		return smstype;
	}
	/**
	 * @param smstype the smstype to set
	 */
	public void setSmstype(int smstype) {
		this.smstype = smstype;
	}
	/**
	 * @return the spmainnumber
	 */
	@Column(name = "SPMAINNUMBER")
	public String getSpmainnumber() {
		return spmainnumber;
	}
	/**
	 * @param spmainnumber the spmainnumber to set
	 */
	public void setSpmainnumber(String spmainnumber) {
		this.spmainnumber = spmainnumber;
	}
	/**
	 * @return the srvaction
	 */
	@Column(name = "SRVACTION")
	public int getSrvaction() {
		return srvaction;
	}
	/**
	 * @param srvaction the srvaction to set
	 */
	public void setSrvaction(int srvaction) {
		this.srvaction = srvaction;
	}
	/**
	 * @return the submittime
	 */
	@Column(name = "SUBMITTIME")
	public Date getSubmittime() {
		return submittime;
	}
	/**
	 * @param submittime the submittime to set
	 */
	public void setSubmittime(Date submittime) {
		this.submittime = submittime;
	}
	/**
	 * @return the url
	 */
	@Column(name = "URL")
	public String getUrl() {
		return url;
	}
	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * @return the usernumbercnt
	 */
	@Column(name = "USERNUMBERCNT")
	public int getUsernumbercnt() {
		return usernumbercnt;
	}
	/**
	 * @param usernumbercnt the usernumbercnt to set
	 */
	public void setUsernumbercnt(int usernumbercnt) {
		this.usernumbercnt = usernumbercnt;
	}
	/**
	 * @return the usernumberlist
	 */
	@Column(name = "USERNUMBERLIST")
	public String getUsernumberlist() {
		return usernumberlist;
	}
	/**
	 * @param usernumberlist the usernumberlist to set
	 */
	public void setUsernumberlist(String usernumberlist) {
		this.usernumberlist = usernumberlist;
	}

	
}

⌨️ 快捷键说明

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