package com.zhaxd.core.model;

import org.beetl.sql.core.annotatoin.SeqID;

import java.util.Date;

public class KTransRecord {
	//转换记录ID
	@SeqID(name="TRANS_RECORD_ID_SEQ")
	private Integer recordId ;
	//任务执行结果（1：成功；2：失败）
	private Integer recordStatus ;
	//转换ID
	private Integer recordTrans ;
	//添加人
	private Integer addUser;
	//转换日志记录文件保存位置
	private String logFilePath ;
	//启动时间
	private Date startTime ;
	//停止时间
	private Date stopTime ;

	public KTransRecord() {
	}

	public Integer getRecordId(){
		return  recordId;
	}
	public void setRecordId(Integer recordId ){
		this.recordId = recordId;
	}

	public Integer getRecordStatus(){
		return  recordStatus;
	}
	public void setRecordStatus(Integer recordStatus ){
		this.recordStatus = recordStatus;
	}

	public Integer getRecordTrans(){
		return  recordTrans;
	}
	public void setRecordTrans(Integer recordTrans ){
		this.recordTrans = recordTrans;
	}

	public String getLogFilePath(){
		return  logFilePath;
	}
	public void setLogFilePath(String logFilePath ){
		this.logFilePath = logFilePath;
	}

	public Date getStartTime(){
		return  startTime;
	}
	public void setStartTime(Date startTime ){
		this.startTime = startTime;
	}

	public Date getStopTime(){
		return  stopTime;
	}
	public void setStopTime(Date stopTime ){
		this.stopTime = stopTime;
	}

	@Override
	public String toString() {
		return "KTransRecord [recordId=" + recordId + ", recordStatus=" + recordStatus + ", recordTrans=" + recordTrans
				+ ", addUser=" + addUser + ", logFilePath=" + logFilePath + ", startTime=" + startTime + ", stopTime="
				+ stopTime + "]";
	}

	public Integer getAddUser() {
		return addUser;
	}

	public void setAddUser(Integer addUser) {
		this.addUser = addUser;
	}
}