package com.goafanti.common.model;

import java.util.Date;
import javax.annotation.Generated;
import java.io.Serializable;

public class TaskProgressLog implements Serializable {

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.317+08:00", comments = "Source field: task_progress_log.id")
	private Integer id;
	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.317+08:00", comments = "Source field: task_progress_log.tid")
	private Integer tid;
	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.317+08:00", comments = "Source field: task_progress_log.patent_name")
	private String patentName;
	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.318+08:00", comments = "Source field: task_progress_log.status")
	private Integer status;
	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.318+08:00", comments = "Source field: task_progress_log.create_time")
	private Date createTime;
	private static final long serialVersionUID = 1L;
	
	public TaskProgressLog() {
	}
	
	/**
	 * 
	 * @param tid	项目编号
	 * @param patentName	专利名称
	 * @param status	0新增 1删除 2修改
	 * @param createTime 创建时间
	 */
	public TaskProgressLog(Integer tid,String patentName,Integer status,Date createTime) {
		this.tid=tid;
		this.patentName=patentName;
		this.status=status;
		this.createTime=createTime;
	}

	
	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.317+08:00", comments = "Source field: task_progress_log.id")
	public Integer getId() {
		return id;
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.317+08:00", comments = "Source field: task_progress_log.id")
	public void setId(Integer id) {
		this.id = id;
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.317+08:00", comments = "Source field: task_progress_log.tid")
	public Integer getTid() {
		return tid;
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.317+08:00", comments = "Source field: task_progress_log.tid")
	public void setTid(Integer tid) {
		this.tid = tid;
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.317+08:00", comments = "Source field: task_progress_log.patent_name")
	public String getPatentName() {
		return patentName;
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.318+08:00", comments = "Source field: task_progress_log.patent_name")
	public void setPatentName(String patentName) {
		this.patentName = patentName == null ? null : patentName.trim();
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.318+08:00", comments = "Source field: task_progress_log.status")
	public Integer getStatus() {
		return status;
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.318+08:00", comments = "Source field: task_progress_log.status")
	public void setStatus(Integer status) {
		this.status = status;
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.318+08:00", comments = "Source field: task_progress_log.create_time")
	public Date getCreateTime() {
		return createTime;
	}

	@Generated(value = "org.mybatis.generator.api.MyBatisGenerator", date = "2020-12-23T14:10:13.318+08:00", comments = "Source field: task_progress_log.create_time")
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", tid=").append(tid);
		sb.append(", patentName=").append(patentName);
		sb.append(", status=").append(status);
		sb.append(", createTime=").append(createTime);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}
}