package com.njcn.pojo.user;

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

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
@Table(name = "PQS_TfLgPloy")
public class TfLgPloy implements Serializable{
	@Id
	@Column(name = "TP_Index")
	private String tPIndex;//	Varchar2 (36)	Not NULL	变压器策略Guid
	private String tpName;//	Varchar2 (32)	Not NULL	变压器策略名称
	private String tpDescribe;//Varchar2 (64)	NULL	变压器策略描述
	private int state;//	Number(1)	Not NULL	数据状态（0：删除；1：正常）
	private String userIndex;//	Varchar2 (36)	Not NULL	（关联表PQS_User）用户表Guid
	private Date Updatetime	;//Datetime	Not NULL	更新时间
	public String gettPIndex() {
		return tPIndex;
	}
	public void settPIndex(String tPIndex) {
		this.tPIndex = tPIndex;
	}
	
	public String getTpName() {
		return tpName;
	}
	public void setTpName(String tpName) {
		this.tpName = tpName;
	}

    public String getTpDescribe() {
        return tpDescribe;
    }

    public void setTpDescribe(String tpDescribe) {
        this.tpDescribe = tpDescribe;
    }

    public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getUserIndex() {
		return userIndex;
	}
	public void setUserIndex(String userIndex) {
		this.userIndex = userIndex;
	}
	public Date getUpdatetime() {
		return Updatetime;
	}
	public void setUpdatetime(Date updatetime) {
		Updatetime = updatetime;
	}

    @Override
    public String toString() {
        return "TfLgPloy{" +
            "tPIndex='" + tPIndex + '\'' +
            ", tpName='" + tpName + '\'' +
            ", tpDescribe='" + tpDescribe + '\'' +
            ", state=" + state +
            ", userIndex='" + userIndex + '\'' +
            ", Updatetime=" + Updatetime +
            '}';
    }
}
