package pwc.taxtech.atms.vat.entity;

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

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table VoucherMain
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class VoucherMain implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.VoucherMainID
     *
     * @mbg.generated
     */
    private String voucherMainID;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.Period
     *
     * @mbg.generated
     */
    private Integer period;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.Group
     *
     * @mbg.generated
     */
    private String group;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.VID
     *
     * @mbg.generated
     */
    private String VID;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.VoucherCount
     *
     * @mbg.generated
     */
    private Integer voucherCount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.AcctCodeCount
     *
     * @mbg.generated
     */
    private Integer acctCodeCount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.Amount
     *
     * @mbg.generated
     */
    private BigDecimal amount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.AmountCredit
     *
     * @mbg.generated
     */
    private BigDecimal amountCredit;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.CreateTime
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.UpdateTime
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column VoucherMain.CreatorID
     *
     * @mbg.generated
     */
    private String creatorID;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table VoucherMain
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.VoucherMainID
     *
     * @return the value of VoucherMain.VoucherMainID
     *
     * @mbg.generated
     */
    public String getVoucherMainID() {
        return voucherMainID;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.VoucherMainID
     *
     * @param voucherMainID the value for VoucherMain.VoucherMainID
     *
     * @mbg.generated
     */
    public void setVoucherMainID(String voucherMainID) {
        this.voucherMainID = voucherMainID == null ? null : voucherMainID.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.Period
     *
     * @return the value of VoucherMain.Period
     *
     * @mbg.generated
     */
    public Integer getPeriod() {
        return period;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.Period
     *
     * @param period the value for VoucherMain.Period
     *
     * @mbg.generated
     */
    public void setPeriod(Integer period) {
        this.period = period;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.Group
     *
     * @return the value of VoucherMain.Group
     *
     * @mbg.generated
     */
    public String getGroup() {
        return group;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.Group
     *
     * @param group the value for VoucherMain.Group
     *
     * @mbg.generated
     */
    public void setGroup(String group) {
        this.group = group == null ? null : group.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.VID
     *
     * @return the value of VoucherMain.VID
     *
     * @mbg.generated
     */
    public String getVID() {
        return VID;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.VID
     *
     * @param VID the value for VoucherMain.VID
     *
     * @mbg.generated
     */
    public void setVID(String VID) {
        this.VID = VID == null ? null : VID.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.VoucherCount
     *
     * @return the value of VoucherMain.VoucherCount
     *
     * @mbg.generated
     */
    public Integer getVoucherCount() {
        return voucherCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.VoucherCount
     *
     * @param voucherCount the value for VoucherMain.VoucherCount
     *
     * @mbg.generated
     */
    public void setVoucherCount(Integer voucherCount) {
        this.voucherCount = voucherCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.AcctCodeCount
     *
     * @return the value of VoucherMain.AcctCodeCount
     *
     * @mbg.generated
     */
    public Integer getAcctCodeCount() {
        return acctCodeCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.AcctCodeCount
     *
     * @param acctCodeCount the value for VoucherMain.AcctCodeCount
     *
     * @mbg.generated
     */
    public void setAcctCodeCount(Integer acctCodeCount) {
        this.acctCodeCount = acctCodeCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.Amount
     *
     * @return the value of VoucherMain.Amount
     *
     * @mbg.generated
     */
    public BigDecimal getAmount() {
        return amount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.Amount
     *
     * @param amount the value for VoucherMain.Amount
     *
     * @mbg.generated
     */
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.AmountCredit
     *
     * @return the value of VoucherMain.AmountCredit
     *
     * @mbg.generated
     */
    public BigDecimal getAmountCredit() {
        return amountCredit;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.AmountCredit
     *
     * @param amountCredit the value for VoucherMain.AmountCredit
     *
     * @mbg.generated
     */
    public void setAmountCredit(BigDecimal amountCredit) {
        this.amountCredit = amountCredit;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.CreateTime
     *
     * @return the value of VoucherMain.CreateTime
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.CreateTime
     *
     * @param createTime the value for VoucherMain.CreateTime
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.UpdateTime
     *
     * @return the value of VoucherMain.UpdateTime
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.UpdateTime
     *
     * @param updateTime the value for VoucherMain.UpdateTime
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column VoucherMain.CreatorID
     *
     * @return the value of VoucherMain.CreatorID
     *
     * @mbg.generated
     */
    public String getCreatorID() {
        return creatorID;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column VoucherMain.CreatorID
     *
     * @param creatorID the value for VoucherMain.CreatorID
     *
     * @mbg.generated
     */
    public void setCreatorID(String creatorID) {
        this.creatorID = creatorID == null ? null : creatorID.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table VoucherMain
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", voucherMainID=").append(voucherMainID);
        sb.append(", period=").append(period);
        sb.append(", group=").append(group);
        sb.append(", VID=").append(VID);
        sb.append(", voucherCount=").append(voucherCount);
        sb.append(", acctCodeCount=").append(acctCodeCount);
        sb.append(", amount=").append(amount);
        sb.append(", amountCredit=").append(amountCredit);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", creatorID=").append(creatorID);
        sb.append("]");
        return sb.toString();
    }
}