package com.goafanti.common.model;

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

public class TTaskMid {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_task_mid.id
     *
     * @mbg.generated Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 CST 2020
     */
    private Date createTime;

    
    
    public TTaskMid() {}
    
    public TTaskMid(Integer tid,BigDecimal costAmount) {
    	this.tid=tid;
    	if(costAmount!=null)this.costAmount=costAmount;
    }
    
    /**
     * 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 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 Thu Jun 18 15:57:30 CST 2020
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}