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

📄 tpublish.java

📁 招标网站
💻 JAVA
字号:
package com.jblack.model;

import java.util.Date;
/*
create table TPublish
(
   TP_id                          int                            not null,
   TC_id                          int,
   TP_winner                      int,
   TP_name                        varchar(50),
   TP_initPrice                   numeric(8,0),
   TP_modPrice                    numeric(8,0),
   TP_description                 varchar(1024),
   TP_pubDate                     date,
   TP_deadline                    date,
   TP_gameDate                    date,
   TP_gameDeadline                date,
   TP_status                      int,
   primary key (TP_id)
)
*/
public class Tpublish {
	
	public final static int PASS = 1; //通过审核
	public final static int UNPASS = 0;//未通过审核
	public final static int VETO = -1;//否决
	public final static int DONE = 2; //Tpublish.status交易完成
	public final static int AGAINST = 3; //违约
	private int tpid = 0;
	private int tcid = 0;
	private int tpwinner = 0;
	private String tpname;
	private double tpinitPrice ;
	private double tpmodPrice ;
	private String tpdescription;
	private Date tppubDate ;
	private Date tpdeadline ;
	private Date tpgameDate;
	private Date tpgameDeadline;
	private int tpstatus;
	public Tpublish() {
		
	}
	public int getTpid() {
		return tpid;
	}
	public void setTpid(int tpid) {
		this.tpid = tpid;
	}
	public int getTcid() {
		return tcid;
	}
	public void setTcid(int tcid) {
		this.tcid = tcid;
	}
	public int getTpwinner() {
		return tpwinner;
	}
	public void setTpwinner(int tpwinner) {
		this.tpwinner = tpwinner;
	}
	public String getTpname() {
		return tpname;
	}
	public void setTpname(String tpname) {
		this.tpname = tpname;
	}
	public double getTpinitPrice() {
		return tpinitPrice;
	}
	public void setTpinitPrice(double tpinitPrice) {
		this.tpinitPrice = tpinitPrice;
	}
	public double getTpmodPrice() {
		return tpmodPrice;
	}
	public void setTpmodPrice(double tpmodPrice) {
		this.tpmodPrice = tpmodPrice;
	}
	public String getTpdescription() {
		return tpdescription;
	}
	public void setTpdescription(String tpdescription) {
		this.tpdescription = tpdescription;
	}
	public Date getTppubDate() {
		return tppubDate;
	}
	public void setTppubDate(Date tppubDate) {
		this.tppubDate = tppubDate;
	}
	public Date getTpdeadline() {
		return tpdeadline;
	}
	public void setTpdeadline(Date tpdeadline) {
		this.tpdeadline = tpdeadline;
	}
	public Date getTpgameDate() {
		return tpgameDate;
	}
	public void setTpgameDate(Date tpgameDate) {
		this.tpgameDate = tpgameDate;
	}
	public Date getTpgameDeadline() {
		return tpgameDeadline;
	}
	public void setTpgameDeadline(Date tpgameDeadline) {
		this.tpgameDeadline = tpgameDeadline;
	}
	public int getTpstatus() {
		return tpstatus;
	}
	public void setTpstatus(int tpstatus) {
		this.tpstatus = tpstatus;
	}
	public Tpublish(int tpid, int tcid, int tpwinner, String tpname,
			double tpinitPrice, double tpmodPrice, String tpdescription,
			Date tppubDate, Date tpdeadline, Date tpgameDate,
			Date tpgameDeadline, int tpstatus) {
		super();
		this.tpid = tpid;
		this.tcid = tcid;
		this.tpwinner = tpwinner;
		this.tpname = tpname;
		this.tpinitPrice = tpinitPrice;
		this.tpmodPrice = tpmodPrice;
		this.tpdescription = tpdescription;
		this.tppubDate = tppubDate;
		this.tpdeadline = tpdeadline;
		this.tpgameDate = tpgameDate;
		this.tpgameDeadline = tpgameDeadline;
		this.tpstatus = tpstatus;
	}
}
	

⌨️ 快捷键说明

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