package com.njcn.pojo.data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


/**
 * 数据库备份
 * */
@Table(name="PQS_DBBACKUP")
public class DbBackUp {

	@Id
	@Column(name="DBBACKUP_INDEX")
	private String dbBackUpIndex;
	
	@Column(name="DBNAME")
	private String dbName;
	
	@Column(name="BACKUPNAME")
	private Long backupName;
	
	@Column(name="Size")
	private Integer size;

	@Column(name="TYPE")
	private String type;
	
	@Column(name="USER_INDEX")
	private String userIndex;
	
	@Column(name="DESCRIBE")
	private String discribe;
	
	@Column(name="UPDATETIME")
	private Date updateTime;
	
	@Column(name="STATE")
	private Integer state;

	public String getDbBackUpIndex() {
		return dbBackUpIndex;
	}

	public void setDbBackUpIndex(String dbBackUpIndex) {
		this.dbBackUpIndex = dbBackUpIndex;
	}

	public String getDbName() {
		return dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public Long getBackupName() {
		return backupName;
	}

	public void setBackupName(Long backupName) {
		this.backupName = backupName;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUserIndex() {
		return userIndex;
	}

	public void setUserIndex(String userIndex) {
		this.userIndex = userIndex;
	}

	public String getDiscribe() {
		return discribe;
	}

	public void setDiscribe(String discribe) {
		this.discribe = discribe;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "DbBackUp [dbBackUpIndex=" + dbBackUpIndex + ", dbName=" + dbName + ", backupName=" + backupName
				+ ", size=" + size + ", type=" + type + ", userIndex=" + userIndex + ", discribe=" + discribe
				+ ", updateTime=" + updateTime + ", state=" + state + "]";
	}
	
	
}
