package com.goafanti.common.model;

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

public class TTaskMid implements Serializable {
	
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.id
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.tid
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer tid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.cost_amount
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private BigDecimal costAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.party_amount
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private BigDecimal partyAmount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.create_time
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Date createTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.certificates_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer certificatesCount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.urgent_day
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer urgentDay;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.if_material
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer ifMaterial;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.reject_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer rejectCount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.accept_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer acceptCount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.end_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer endCount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.authorize_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer authorizeCount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_task_mid.apply_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private Integer applyCount;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_task_mid
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.id
	 * @return  the value of t_task_mid.id
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.id
	 * @param id  the value for t_task_mid.id
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.tid
	 * @return  the value of t_task_mid.tid
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getTid() {
		return tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.tid
	 * @param tid  the value for t_task_mid.tid
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setTid(Integer tid) {
		this.tid = tid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.cost_amount
	 * @return  the value of t_task_mid.cost_amount
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public BigDecimal getCostAmount() {
		return costAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.cost_amount
	 * @param costAmount  the value for t_task_mid.cost_amount
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setCostAmount(BigDecimal costAmount) {
		this.costAmount = costAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.party_amount
	 * @return  the value of t_task_mid.party_amount
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public BigDecimal getPartyAmount() {
		return partyAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.party_amount
	 * @param partyAmount  the value for t_task_mid.party_amount
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setPartyAmount(BigDecimal partyAmount) {
		this.partyAmount = partyAmount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.create_time
	 * @return  the value of t_task_mid.create_time
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.create_time
	 * @param createTime  the value for t_task_mid.create_time
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.certificates_count
	 * @return  the value of t_task_mid.certificates_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getCertificatesCount() {
		return certificatesCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.certificates_count
	 * @param certificatesCount  the value for t_task_mid.certificates_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setCertificatesCount(Integer certificatesCount) {
		this.certificatesCount = certificatesCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.urgent_day
	 * @return  the value of t_task_mid.urgent_day
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getUrgentDay() {
		return urgentDay;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.urgent_day
	 * @param urgentDay  the value for t_task_mid.urgent_day
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setUrgentDay(Integer urgentDay) {
		this.urgentDay = urgentDay;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.if_material
	 * @return  the value of t_task_mid.if_material
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getIfMaterial() {
		return ifMaterial;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.if_material
	 * @param ifMaterial  the value for t_task_mid.if_material
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setIfMaterial(Integer ifMaterial) {
		this.ifMaterial = ifMaterial;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.reject_count
	 * @return  the value of t_task_mid.reject_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getRejectCount() {
		return rejectCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.reject_count
	 * @param rejectCount  the value for t_task_mid.reject_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setRejectCount(Integer rejectCount) {
		this.rejectCount = rejectCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.accept_count
	 * @return  the value of t_task_mid.accept_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getAcceptCount() {
		return acceptCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.accept_count
	 * @param acceptCount  the value for t_task_mid.accept_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setAcceptCount(Integer acceptCount) {
		this.acceptCount = acceptCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.end_count
	 * @return  the value of t_task_mid.end_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getEndCount() {
		return endCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.end_count
	 * @param endCount  the value for t_task_mid.end_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setEndCount(Integer endCount) {
		this.endCount = endCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.authorize_count
	 * @return  the value of t_task_mid.authorize_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getAuthorizeCount() {
		return authorizeCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.authorize_count
	 * @param authorizeCount  the value for t_task_mid.authorize_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setAuthorizeCount(Integer authorizeCount) {
		this.authorizeCount = authorizeCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_task_mid.apply_count
	 * @return  the value of t_task_mid.apply_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public Integer getApplyCount() {
		return applyCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_task_mid.apply_count
	 * @param applyCount  the value for t_task_mid.apply_count
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	public void setApplyCount(Integer applyCount) {
		this.applyCount = applyCount;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_task_mid
	 * @mbg.generated  Fri Dec 25 14:38:43 CST 2020
	 */
	@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(", costAmount=").append(costAmount);
		sb.append(", partyAmount=").append(partyAmount);
		sb.append(", createTime=").append(createTime);
		sb.append(", certificatesCount=").append(certificatesCount);
		sb.append(", urgentDay=").append(urgentDay);
		sb.append(", ifMaterial=").append(ifMaterial);
		sb.append(", rejectCount=").append(rejectCount);
		sb.append(", acceptCount=").append(acceptCount);
		sb.append(", endCount=").append(endCount);
		sb.append(", authorizeCount=").append(authorizeCount);
		sb.append(", applyCount=").append(applyCount);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}

	

	public TTaskMid() {}
    
    public TTaskMid(Integer tid,BigDecimal costAmount) {
    	this.tid=tid;
    	if(costAmount!=null)this.costAmount=costAmount;
    }
}