package com.njcn.pojo.log;

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

/**
 * 用户日志表
 * */
@Table(name="PQS_USERLOG")
public class UserLog {
	
	@Id
	@Column(name="USERLOG_INDEX")
	private String userLogIndex;
	
	@Column(name="USER_INDEX")
	private String userIndex;
	@Column(name = "SysType")
	private String sysType;
	public String getSysType() {
		return sysType;
	}
	public void setSysType(String sysType) {
		this.sysType = sysType;
	}

	@Column(name="USERLOG_DESCRIBE")
	private String describe;
	@Column(name="TYPE")
	private String type;
	@Column(name="IP")
	private String ip;

	@Column(name="STATE")
	private Integer state;
	
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}

	@Column(name="UPDATETIME")
	private Date updateTime;

	@Column(name="RESULT")
	private String result;

	public String getUserLogIndex() {
		return userLogIndex;
	}

	public void setUserLogIndex(String userLogIndex) {
		this.userLogIndex = userLogIndex;
	}

	public String getUserIndex() {
		return userIndex;
	}

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

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public String getType() {
		return type;
	}

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

	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;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	@Override
	public String toString() {
		return "UserLog [userLogIndex=" + userLogIndex + ", userIndex=" + userIndex + ", sysType=" + sysType
				+ ", describe=" + describe + ", type=" + type + ", ip=" + ip + ", updateTime=" + updateTime + ", result=" + result
				+ ", state=" + state + ", getSysType()=" + getSysType() + ", getIp()=" + getIp() + ", getUserLogIndex()=" + getUserLogIndex()
				+ ", getUserIndex()=" + getUserIndex() + ", getUserlogDescribe()=" + getDescribe() + ", getType()=" + getType()
				+ ", getUpdateTime()=" + getUpdateTime() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode()
				+ ", toString()=" + super.toString() + "]";
	}

	
}
