package com.platform.entities;

import com.platform.entities.OracleConnectorParams;

public class GatherOracleInfo extends OracleConnectorParams {
	
	private String tableName;
	
	private String suffix;
	
	private String type;
	
	private int id;
	
	private String remove;
	
	/**
	 * 0:未知状态， 1：连接成功 ，2：在使用 ，3 ：失败
	 */
	private int status;
	
	public GatherOracleInfo() {
		super();
	}

	public GatherOracleInfo(String port, String ip, String name, String user,
			String password, String database) {
		super(port, ip, name, user, password, database);
		// TODO Auto-generated constructor stub
	}

	public GatherOracleInfo(String port, String ip, String name, String user,
			String password, String database, int _id, String tableName, String suffix, int status) {
		super(port, ip, name, user, password, database);
		this.tableName = tableName;
		this.suffix = suffix;
		this.id=_id;
		this.status = status;
	}

	
	

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	public int getId() {
		return id;
	}

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

	public int getStatus() {
		return status;
	}

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

	public String getRemove() {
		return remove;
	}

	public void setRemove(String remove) {
		this.remove = remove;
	}	
	
}
