package com.njcn.pojo.user;

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

/***
 * 变压器跟逻辑节点关系主要是要能够确认变压器上级逻辑节点和下级逻辑节点的关系①--B--②
 * @author 123
 *变压器逻辑节点关系表
 */
@Table(name = "PQS_TFLGASS")
public class TfLgAss {
	@Id
	@Column(name = "TFLGASS_INDEX")
	private String tfLgAss_Index;//	Varchar2(36)	Not NULL	变压器跟逻辑节点关系Guid
	@Column(name = "TF_INDEX")
	private String tfIndex;//	Varchar2(36)	Not NULL	变压器台账Guid
	@Column(name = "LOGIC_BEFORE")
	private int logicBefore;//	Number(4)	Not NULL	上级逻辑节点（PQ_SubVoltage表的subv_Index）
	@Column(name = "LOGIC_NEXT")
	private int logicNext;//	Number(4)	Not NULL	下级逻辑节点（PQ_SubVoltage表的subv_Index）
	@Column(name = "USER_INDEX")
	private String userIndex;//	Varchar2 (36)	Not NULL	（关联表PQS_User）用户表Guid
	@Column(name = "UPDATETIME")
	private Date updatetime;//	Datetime	Not NULL	更新时间
    

	@Override
	public String toString() {
		return "TfLgAss [tfLgAss_Index=" + tfLgAss_Index + ", tfIndex=" + tfIndex + ", logicBefore=" + logicBefore
				+ ", logicNext=" + logicNext + ", userIndex=" + userIndex + ", updatetime=" + updatetime
				+ ", getTfLgAss_Index()=" + getTfLgAss_Index() + ", getTfIndex()=" + getTfIndex()
				+ ", getLogicBefore()=" + getLogicBefore() + ", getLogicNext()=" + getLogicNext() + ", getUserIndex()="
				+ getUserIndex() + ", getUpdatetime()=" + getUpdatetime() + ", getClass()=" + getClass()
				+ ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]";
	}


	public String getTfLgAss_Index() {
		return tfLgAss_Index;
	}


	public void setTfLgAss_Index(String tfLgAss_Index) {
		this.tfLgAss_Index = tfLgAss_Index;
	}


	public String getTfIndex() {
		return tfIndex;
	}


	public void setTfIndex(String tfIndex) {
		this.tfIndex = tfIndex;
	}


	public int getLogicBefore() {
		return logicBefore;
	}


	public void setLogicBefore(int logicBefore) {
		this.logicBefore = logicBefore;
	}


	public int getLogicNext() {
		return logicNext;
	}


	public void setLogicNext(int logicNext) {
		this.logicNext = logicNext;
	}


	public String getUserIndex() {
		return userIndex;
	}


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


	public Date getUpdatetime() {
		return updatetime;
	}


	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}


	public TfLgAss() {
		super();
	}
    
	
}
