package com.artfess.bpm.persistence.model;

import com.artfess.base.entity.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang.builder.ToStringBuilder;

import java.time.LocalDateTime;

/**
 * 对象功能:?????? entity对象
 * 开发公司:广州宏天软件有限公司
 * 开发人员:zyg
 * 创建时间:2014-05-14 14:41:48
 */
@TableName("bpm_task_read")
public class BpmTaskRead extends BaseModel<BpmTaskRead>{
	/**
	 * 
	 */
	private static final long serialVersionUID = 8424302182476395838L;
	@TableId("id_")
	protected String  id; /*??*/
	
	@TableField("proc_def_id")
	protected String  procDefId; /*????ID*/
		
	@TableField("proc_inst_id_")
	protected String  procInstId; /*????ID*/
	
	@TableField("task_id_")
	protected String  taskId; /*??ID*/
	
	@TableField("node_id_")
	protected String  nodeId; /*????Key*/
	
	@TableField("read_time_")
	protected LocalDateTime  readTime; /*????*/
	
	@TableField("user_id_")
	protected String  userId; /*???ID*/
	
	@TableField("user_name_")
	protected String  userName; /*????*/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ??
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setProcDefId(String procDefId) 
	{
		this.procDefId = procDefId;
	}
	/**
	 * 返回 ????ID
	 * @return
	 */
	public String getProcDefId() 
	{
		return this.procDefId;
	}
	public void setProcInstId(String procInstId) 
	{
		this.procInstId = procInstId;
	}
	/**
	 * 返回 ????ID
	 * @return
	 */
	public String getProcInstId() 
	{
		return this.procInstId;
	}
	public void setTaskId(String taskId) 
	{
		this.taskId = taskId;
	}
	/**
	 * 返回 ??ID
	 * @return
	 */
	public String getTaskId() 
	{
		return this.taskId;
	}
	public void setNodeId(String nodeId) 
	{
		this.nodeId = nodeId;
	}
	/**
	 * 返回 ????Key
	 * @return
	 */
	public String getNodeId() 
	{
		return this.nodeId;
	}
	public void setReadTime(LocalDateTime readTime) 
	{
		this.readTime = readTime;
	}
	/**
	 * 返回 ????
	 * @return
	 */
	public LocalDateTime getReadTime() 
	{
		return this.readTime;
	}
	public void setUserId(String userId) 
	{
		this.userId = userId;
	}
	/**
	 * 返回 ???ID
	 * @return
	 */
	public String getUserId() 
	{
		return this.userId;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}
	/**
	 * 返回 ????
	 * @return
	 */
	public String getUserName() 
	{
		return this.userName;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("procDefId", this.procDefId) 
		.append("procInstId", this.procInstId) 
		.append("taskId", this.taskId) 
		.append("nodeId", this.nodeId) 
		.append("readTime", this.readTime) 
		.append("userId", this.userId) 
		.append("userName", this.userName) 
		.toString();
	}
}
