package com.goafanti.common.model;

import java.util.Date;

public class TaskProgress {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column task_progress.id
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	private Integer id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column task_progress.already_number
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	private Integer alreadyNumber;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column task_progress.licence_time
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	private Date licenceTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column task_progress.task_id
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	private Integer taskId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column task_progress.create_time
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	private Date createTime;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column task_progress.id
	 * @return  the value of task_progress.id
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column task_progress.id
	 * @param id  the value for task_progress.id
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column task_progress.already_number
	 * @return  the value of task_progress.already_number
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public Integer getAlreadyNumber() {
		if (alreadyNumber==null) {
			return 0;
		}
		return alreadyNumber;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column task_progress.already_number
	 * @param alreadyNumber  the value for task_progress.already_number
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public void setAlreadyNumber(Integer alreadyNumber) {
		this.alreadyNumber = alreadyNumber;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column task_progress.licence_time
	 * @return  the value of task_progress.licence_time
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public Date getLicenceTime() {
		return licenceTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column task_progress.licence_time
	 * @param licenceTime  the value for task_progress.licence_time
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public void setLicenceTime(Date licenceTime) {
		this.licenceTime = licenceTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column task_progress.task_id
	 * @return  the value of task_progress.task_id
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public Integer getTaskId() {
		return taskId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column task_progress.task_id
	 * @param taskId  the value for task_progress.task_id
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public void setTaskId(Integer taskId) {
		this.taskId = taskId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column task_progress.create_time
	 * @return  the value of task_progress.create_time
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column task_progress.create_time
	 * @param createTime  the value for task_progress.create_time
	 * @mbg.generated  Wed Jun 05 14:03:08 CST 2019
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}