package pwc.taxtech.atms.entity;

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

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table cit_tbam
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class CitTbam extends BaseEntity implements Serializable {
    /**
     * Database Column Remarks:
     *   唯一编号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.id
     *
     * @mbg.generated
     */

    private Long id;
    private String dataType;

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    /**
     * Database Column Remarks:
     *   机构编号
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.organization_id
     *
     * @mbg.generated
     */
    private String organizationId;
    private Long adjustAccount;


    public Long getAdjustAccount() {
        return adjustAccount;
    }

    public void setAdjustAccount(Long adjustAccount) {
        this.adjustAccount = adjustAccount;
    }


    /**
     * Database Column Remarks:
     *   项目ID
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.project_id
     *
     * @mbg.generated
     */
    private String projectId;

    /**
     * Database Column Remarks:
     *   数据日期
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.date
     *
     * @mbg.generated
     */
    private Date date;

    /**
     * Database Column Remarks:
     *   来源
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.source
     *
     * @mbg.generated
     */
    private String source;

    /**
     * Database Column Remarks:
     *   期间 yyyymm(区分卡片年份的期间,系统设计要求必有字段)
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.period
     *
     * @mbg.generated
     */
    private Integer period;

    /**
     * Database Column Remarks:
     *   期间 yyyymm
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.account_period
     *
     * @mbg.generated
     */
    private Integer accountPeriod;

    /**
     * Database Column Remarks:
     *   小类 
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.attribute
     *
     * @mbg.generated
     */
    private String attribute;

    /**
     * Database Column Remarks:
     *   科目代码
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.account_code
     *
     * @mbg.generated
     */
    private String accountCode;

    /**
     * Database Column Remarks:
     *   科目说明
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.account_description
     *
     * @mbg.generated
     */
    private String accountDescription;

    /**
     * Database Column Remarks:
     *   借方发生额
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.debit_amount
     *
     * @mbg.generated
     */
    private BigDecimal debitAmount;

    /**
     * Database Column Remarks:
     *   贷方发生额
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.credit_amount
     *
     * @mbg.generated
     */
    private BigDecimal creditAmount;

    /**
     * Database Column Remarks:
     *   期初余额
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.beginning_balance
     *
     * @mbg.generated
     */
    private BigDecimal beginningBalance;

    /**
     * Database Column Remarks:
     *   期末余额
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.ending_balance
     *
     * @mbg.generated
     */
    private BigDecimal endingBalance;

    /**
     * Database Column Remarks:
     *   创建人
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.create_by
     *
     * @mbg.generated
     */
    private String createBy;

    /**
     * Database Column Remarks:
     *   创建时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.create_time
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * Database Column Remarks:
     *   更新时间
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column cit_tbam.update_time
     *
     * @mbg.generated
     */
    private Date updateTime;

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.id
     *
     * @return the value of cit_tbam.id
     *
     * @mbg.generated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cit_tbam.id
     *
     * @param id the value for cit_tbam.id
     *
     * @mbg.generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.organization_id
     *
     * @return the value of cit_tbam.organization_id
     *
     * @mbg.generated
     */
    public String getOrganizationId() {
        return organizationId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.project_id
     *
     * @return the value of cit_tbam.project_id
     *
     * @mbg.generated
     */
    public String getProjectId() {
        return projectId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.date
     *
     * @return the value of cit_tbam.date
     *
     * @mbg.generated
     */
    public Date getDate() {
        return date;
    }

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cit_tbam.period
     *
     * @param period the value for cit_tbam.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 cit_tbam.account_period
     *
     * @return the value of cit_tbam.account_period
     *
     * @mbg.generated
     */
    public Integer getAccountPeriod() {
        return accountPeriod;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cit_tbam.account_period
     *
     * @param accountPeriod the value for cit_tbam.account_period
     *
     * @mbg.generated
     */
    public void setAccountPeriod(Integer accountPeriod) {
        this.accountPeriod = accountPeriod;
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.account_code
     *
     * @return the value of cit_tbam.account_code
     *
     * @mbg.generated
     */
    public String getAccountCode() {
        return accountCode;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.account_description
     *
     * @return the value of cit_tbam.account_description
     *
     * @mbg.generated
     */
    public String getAccountDescription() {
        return accountDescription;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.debit_amount
     *
     * @return the value of cit_tbam.debit_amount
     *
     * @mbg.generated
     */
    public BigDecimal getDebitAmount() {
        return debitAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cit_tbam.debit_amount
     *
     * @param debitAmount the value for cit_tbam.debit_amount
     *
     * @mbg.generated
     */
    public void setDebitAmount(BigDecimal debitAmount) {
        this.debitAmount = debitAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.credit_amount
     *
     * @return the value of cit_tbam.credit_amount
     *
     * @mbg.generated
     */
    public BigDecimal getCreditAmount() {
        return creditAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cit_tbam.credit_amount
     *
     * @param creditAmount the value for cit_tbam.credit_amount
     *
     * @mbg.generated
     */
    public void setCreditAmount(BigDecimal creditAmount) {
        this.creditAmount = creditAmount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.beginning_balance
     *
     * @return the value of cit_tbam.beginning_balance
     *
     * @mbg.generated
     */
    public BigDecimal getBeginningBalance() {
        return beginningBalance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cit_tbam.beginning_balance
     *
     * @param beginningBalance the value for cit_tbam.beginning_balance
     *
     * @mbg.generated
     */
    public void setBeginningBalance(BigDecimal beginningBalance) {
        this.beginningBalance = beginningBalance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.ending_balance
     *
     * @return the value of cit_tbam.ending_balance
     *
     * @mbg.generated
     */
    public BigDecimal getEndingBalance() {
        return endingBalance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cit_tbam.ending_balance
     *
     * @param endingBalance the value for cit_tbam.ending_balance
     *
     * @mbg.generated
     */
    public void setEndingBalance(BigDecimal endingBalance) {
        this.endingBalance = endingBalance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column cit_tbam.create_by
     *
     * @return the value of cit_tbam.create_by
     *
     * @mbg.generated
     */
    public String getCreateBy() {
        return createBy;
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column cit_tbam.create_time
     *
     * @param createTime the value for cit_tbam.create_time
     *
     * @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 cit_tbam.update_time
     *
     * @return the value of cit_tbam.update_time
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table cit_tbam
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        return "CitTbam{" +
                "id=" + id +
                ", dataType='" + dataType + '\'' +
                ", organizationId='" + organizationId + '\'' +
                ", adjustAccount=" + adjustAccount +
                ", projectId='" + projectId + '\'' +
                ", date=" + date +
                ", source='" + source + '\'' +
                ", period=" + period +
                ", accountPeriod=" + accountPeriod +
                ", attribute='" + attribute + '\'' +
                ", accountCode='" + accountCode + '\'' +
                ", accountDescription='" + accountDescription + '\'' +
                ", debitAmount=" + debitAmount +
                ", creditAmount=" + creditAmount +
                ", beginningBalance=" + beginningBalance +
                ", endingBalance=" + endingBalance +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}