package project.db.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * FwJobBase generated by hbm2java
 */
@org.hibernate.annotations.DynamicInsert
@Entity
@Table(name = "fw_job_base")
public class FwJobBase implements java.io.Serializable {

	private long jobSeq;
	private String jobId;
	private String jobName;
	private String entryUserId;
	private Date entryDateTime;
	private String entryIp;
	private String jobParam;
	private String batParam;
	private String dispParam;
	private String execHost;
	private int status;
	private String message;
	private String remark;

	public FwJobBase() {
	}

	public FwJobBase(long jobSeq, String jobId, String jobName,
			String entryUserId, Date entryDateTime, int status) {
		this.jobSeq = jobSeq;
		this.jobId = jobId;
		this.jobName = jobName;
		this.entryUserId = entryUserId;
		this.entryDateTime = entryDateTime;
		this.status = status;
	}

	public FwJobBase(long jobSeq, String jobId, String jobName,
			String entryUserId, Date entryDateTime, String entryIp,
			String jobParam, String batParam, String dispParam,
			String execHost, int status, String message, String remark) {
		this.jobSeq = jobSeq;
		this.jobId = jobId;
		this.jobName = jobName;
		this.entryUserId = entryUserId;
		this.entryDateTime = entryDateTime;
		this.entryIp = entryIp;
		this.jobParam = jobParam;
		this.batParam = batParam;
		this.dispParam = dispParam;
		this.execHost = execHost;
		this.status = status;
		this.message = message;
		this.remark = remark;
	}

	@Id
	@Column(name = "job_seq", unique = true, nullable = false)
	public long getJobSeq() {
		return this.jobSeq;
	}

	public void setJobSeq(long jobSeq) {
		this.jobSeq = jobSeq;
	}

	@Column(name = "job_id", nullable = false, length = 32)
	public String getJobId() {
		return this.jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	@Column(name = "job_name", nullable = false, length = 128)
	public String getJobName() {
		return this.jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	@Column(name = "entry_user_id", nullable = false, length = 64)
	public String getEntryUserId() {
		return this.entryUserId;
	}

	public void setEntryUserId(String entryUserId) {
		this.entryUserId = entryUserId;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "entry_date_time", nullable = false, length = 29)
	public Date getEntryDateTime() {
		return this.entryDateTime;
	}

	public void setEntryDateTime(Date entryDateTime) {
		this.entryDateTime = entryDateTime;
	}

	@Column(name = "entry_ip", length = 64)
	public String getEntryIp() {
		return this.entryIp;
	}

	public void setEntryIp(String entryIp) {
		this.entryIp = entryIp;
	}

	@Column(name = "job_param", length = 128)
	public String getJobParam() {
		return this.jobParam;
	}

	public void setJobParam(String jobParam) {
		this.jobParam = jobParam;
	}

	@Column(name = "bat_param", length = 512)
	public String getBatParam() {
		return this.batParam;
	}

	public void setBatParam(String batParam) {
		this.batParam = batParam;
	}

	@Column(name = "disp_param", length = 512)
	public String getDispParam() {
		return this.dispParam;
	}

	public void setDispParam(String dispParam) {
		this.dispParam = dispParam;
	}

	@Column(name = "exec_host", length = 64)
	public String getExecHost() {
		return this.execHost;
	}

	public void setExecHost(String execHost) {
		this.execHost = execHost;
	}

	@Column(name = "status", nullable = false)
	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	@Column(name = "message", length = 512)
	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Column(name = "remark", length = 256)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
