package com.bankaudit.process.model;

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

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

@Entity
@Table(name="task_details_hst")
public class TaskDetailsHst implements Serializable{
	
	@Id
	@GeneratedValue(strategy = javax.persistence.GenerationType.IDENTITY)
	@Column(name="id1")
	private Integer id1;
	
	@Column(name="id")
	private Integer id;
	
	@Column(name="legal_entity_code")
	private Integer legalEntityCode;

	@Column(name="audit_type_code")
	private String auditTypeCode;

	@Column(name="audit_id")
	private String auditId;
	
	@Column(name="observation_id")
	private String observationId;
	
	@Column(name="action_plan")
	private String actionPlan;

	@Column(name="resp_implementation")
	private String respImplementation;
	
	@Column(name="resp_monitoring")
	private String respMonitoring;
	
	@Column(name="due_date")
	private Date dueDate;
	
	@Column(name="actual_closure_date")
	private Date actualClosureDate;
	
	@Column(name="task_status")
	private String taskStatus;
	
	@Column(name="remarks")
	private String remarks;
	
	@Column(name="auth_rej_remarks")
	private String authRejRemarks;
	
	@Column(name="entity_status")
	private String entityStatus;

	@Column(name="status")
	private String status;

	@Column(name="maker")
	private String maker;

	@Column(name="maker_timestamp")
	private Date makerTimestamp;

	@Column(name="checker")
	private String checker;

	@Column(name="checker_timestamp")
	private Date checkerTimestamp;

	@Column(name="businessdate_timestamp")
	private Date businessdateTimestamp;

	@Column(name="sysdate_timestamp")
	private Date sysdateTimestamp;
	
	
	public TaskDetailsHst() {}
	
	public TaskDetailsHst(TaskDetails taskDetails) {
		super();
		this.id= taskDetails.getId();
		this.legalEntityCode = taskDetails.getLegalEntityCode();
		this.auditTypeCode = taskDetails.getAuditTypeCode();
		this.auditId = taskDetails.getAuditId();
		this.observationId = taskDetails.getObservationId();
		this.actionPlan = taskDetails.getActionPlan();
		this.respImplementation = taskDetails.getRespImplementation();
		this.respMonitoring = taskDetails.getRespMonitoring();
		this.dueDate = taskDetails.getDueDate();
		this.entityStatus = taskDetails.getEntityStatus();
		this.status = taskDetails.getStatus();
		this.maker = taskDetails.getMaker();
		this.makerTimestamp = taskDetails.getMakerTimestamp();
		this.checker = taskDetails.getChecker();
		this.checkerTimestamp = taskDetails.getCheckerTimestamp();
		this.businessdateTimestamp = taskDetails.getBusinessdateTimestamp();
		this.sysdateTimestamp = taskDetails.getSysdateTimestamp();
	}
	

	public Integer getId1() {
		return id1;
	}

	public void setId1(Integer id1) {
		this.id1 = id1;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getLegalEntityCode() {
		return legalEntityCode;
	}

	public void setLegalEntityCode(Integer legalEntityCode) {
		this.legalEntityCode = legalEntityCode;
	}

	public String getAuditTypeCode() {
		return auditTypeCode;
	}

	public void setAuditTypeCode(String auditTypeCode) {
		this.auditTypeCode = auditTypeCode;
	}

	public String getAuditId() {
		return auditId;
	}

	public void setAuditId(String auditId) {
		this.auditId = auditId;
	}

	public String getObservationId() {
		return observationId;
	}

	public void setObservationId(String observationId) {
		this.observationId = observationId;
	}

	public String getActionPlan() {
		return actionPlan;
	}

	public void setActionPlan(String actionPlan) {
		this.actionPlan = actionPlan;
	}

	public String getRespImplementation() {
		return respImplementation;
	}

	public void setRespImplementation(String respImplementation) {
		this.respImplementation = respImplementation;
	}

	public String getRespMonitoring() {
		return respMonitoring;
	}

	public void setRespMonitoring(String respMonitoring) {
		this.respMonitoring = respMonitoring;
	}

	public Date getDueDate() {
		return dueDate;
	}

	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}

	public Date getActualClosureDate() {
		return actualClosureDate;
	}

	public void setActualClosureDate(Date actualClosureDate) {
		this.actualClosureDate = actualClosureDate;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getAuthRejRemarks() {
		return authRejRemarks;
	}

	public void setAuthRejRemarks(String authRejRemarks) {
		this.authRejRemarks = authRejRemarks;
	}

	public String getEntityStatus() {
		return entityStatus;
	}

	public void setEntityStatus(String entityStatus) {
		this.entityStatus = entityStatus;
	}

	public String getStatus() {
		return status;
	}

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

	public String getMaker() {
		return maker;
	}

	public void setMaker(String maker) {
		this.maker = maker;
	}

	public Date getMakerTimestamp() {
		return makerTimestamp;
	}

	public void setMakerTimestamp(Date makerTimestamp) {
		this.makerTimestamp = makerTimestamp;
	}

	public String getChecker() {
		return checker;
	}

	public void setChecker(String checker) {
		this.checker = checker;
	}

	public Date getCheckerTimestamp() {
		return checkerTimestamp;
	}

	public void setCheckerTimestamp(Date checkerTimestamp) {
		this.checkerTimestamp = checkerTimestamp;
	}

	public Date getBusinessdateTimestamp() {
		return businessdateTimestamp;
	}

	public void setBusinessdateTimestamp(Date businessdateTimestamp) {
		this.businessdateTimestamp = businessdateTimestamp;
	}

	public Date getSysdateTimestamp() {
		return sysdateTimestamp;
	}

	public void setSysdateTimestamp(Date sysdateTimestamp) {
		this.sysdateTimestamp = sysdateTimestamp;
	}
	
	

}
