package pwc.taxtech.atms.vat.entity;

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

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

    private String code;

    private String ruleType;

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column EnterpriseAccount.AcctProp
     *
     * @mbg.generated
     */
    private Integer acctProp;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column EnterpriseAccount.SubProp
     *
     * @mbg.generated
     */
    private Integer subProp;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column EnterpriseAccount.AcctLevel
     *
     * @mbg.generated
     */
    private Integer acctLevel;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column EnterpriseAccount.Direction
     *
     * @mbg.generated
     */
    private Integer direction;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column EnterpriseAccount.IsLeaf
     *
     * @mbg.generated
     */
    private Boolean isLeaf;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column EnterpriseAccount.IsActive
     *
     * @mbg.generated
     */
    private Boolean isActive;

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column EnterpriseAccount.IsDummy
     *
     * @mbg.generated
     */
    private Integer isDummy;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column EnterpriseAccount.IsInVoucher
     *
     * @mbg.generated
     */
    private Integer isInVoucher;

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.AcctCode
     *
     * @return the value of EnterpriseAccount.AcctCode
     *
     * @mbg.generated
     */
    public String getAcctCode() {
        return acctCode;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.Name
     *
     * @return the value of EnterpriseAccount.Name
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.ParentCode
     *
     * @return the value of EnterpriseAccount.ParentCode
     *
     * @mbg.generated
     */
    public String getParentCode() {
        return parentCode;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.FullName
     *
     * @return the value of EnterpriseAccount.FullName
     *
     * @mbg.generated
     */
    public String getFullName() {
        return fullName;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.AcctProp
     *
     * @return the value of EnterpriseAccount.AcctProp
     *
     * @mbg.generated
     */
    public Integer getAcctProp() {
        return acctProp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column EnterpriseAccount.AcctProp
     *
     * @param acctProp the value for EnterpriseAccount.AcctProp
     *
     * @mbg.generated
     */
    public void setAcctProp(Integer acctProp) {
        this.acctProp = acctProp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.SubProp
     *
     * @return the value of EnterpriseAccount.SubProp
     *
     * @mbg.generated
     */
    public Integer getSubProp() {
        return subProp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column EnterpriseAccount.SubProp
     *
     * @param subProp the value for EnterpriseAccount.SubProp
     *
     * @mbg.generated
     */
    public void setSubProp(Integer subProp) {
        this.subProp = subProp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.AcctLevel
     *
     * @return the value of EnterpriseAccount.AcctLevel
     *
     * @mbg.generated
     */
    public Integer getAcctLevel() {
        return acctLevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column EnterpriseAccount.AcctLevel
     *
     * @param acctLevel the value for EnterpriseAccount.AcctLevel
     *
     * @mbg.generated
     */
    public void setAcctLevel(Integer acctLevel) {
        this.acctLevel = acctLevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.Direction
     *
     * @return the value of EnterpriseAccount.Direction
     *
     * @mbg.generated
     */
    public Integer getDirection() {
        return direction;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column EnterpriseAccount.Direction
     *
     * @param direction the value for EnterpriseAccount.Direction
     *
     * @mbg.generated
     */
    public void setDirection(Integer direction) {
        this.direction = direction;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.IsLeaf
     *
     * @return the value of EnterpriseAccount.IsLeaf
     *
     * @mbg.generated
     */
    public Boolean getIsLeaf() {
        return isLeaf;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column EnterpriseAccount.IsLeaf
     *
     * @param isLeaf the value for EnterpriseAccount.IsLeaf
     *
     * @mbg.generated
     */
    public void setIsLeaf(Boolean isLeaf) {
        this.isLeaf = isLeaf;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.IsActive
     *
     * @return the value of EnterpriseAccount.IsActive
     *
     * @mbg.generated
     */
    public Boolean getIsActive() {
        return isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column EnterpriseAccount.IsActive
     *
     * @param isActive the value for EnterpriseAccount.IsActive
     *
     * @mbg.generated
     */
    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.EnglishName
     *
     * @return the value of EnterpriseAccount.EnglishName
     *
     * @mbg.generated
     */
    public String getEnglishName() {
        return englishName;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.StdCode
     *
     * @return the value of EnterpriseAccount.StdCode
     *
     * @mbg.generated
     */
    public String getStdCode() {
        return stdCode;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.EnterpriseAccountSetId
     *
     * @return the value of EnterpriseAccount.EnterpriseAccountSetId
     *
     * @mbg.generated
     */
    public String getEnterpriseAccountSetId() {
        return enterpriseAccountSetId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.IsDummy
     *
     * @return the value of EnterpriseAccount.IsDummy
     *
     * @mbg.generated
     */
    public Integer getIsDummy() {
        return isDummy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column EnterpriseAccount.IsDummy
     *
     * @param isDummy the value for EnterpriseAccount.IsDummy
     *
     * @mbg.generated
     */
    public void setIsDummy(Integer isDummy) {
        this.isDummy = isDummy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.IsInVoucher
     *
     * @return the value of EnterpriseAccount.IsInVoucher
     *
     * @mbg.generated
     */
    public Integer getIsInVoucher() {
        return isInVoucher;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column EnterpriseAccount.IsInVoucher
     *
     * @param isInVoucher the value for EnterpriseAccount.IsInVoucher
     *
     * @mbg.generated
     */
    public void setIsInVoucher(Integer isInVoucher) {
        this.isInVoucher = isInVoucher;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.CreatorId
     *
     * @return the value of EnterpriseAccount.CreatorId
     *
     * @mbg.generated
     */
    public String getCreatorId() {
        return creatorId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column EnterpriseAccount.UpdatorId
     *
     * @return the value of EnterpriseAccount.UpdatorId
     *
     * @mbg.generated
     */
    public String getUpdatorId() {
        return updatorId;
    }

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

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

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

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

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public Boolean getLeaf() {
        return isLeaf;
    }

    public void setLeaf(Boolean leaf) {
        isLeaf = leaf;
    }

    public Boolean getActive() {
        return isActive;
    }

    public void setActive(Boolean active) {
        isActive = active;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table EnterpriseAccount
     *
     * @mbg.generated
     */


    @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(", acctCode=").append(acctCode);
        sb.append(", name=").append(name);
        sb.append(", parentCode=").append(parentCode);
        sb.append(", fullName=").append(fullName);
        sb.append(", acctProp=").append(acctProp);
        sb.append(", subProp=").append(subProp);
        sb.append(", acctLevel=").append(acctLevel);
        sb.append(", direction=").append(direction);
        sb.append(", isLeaf=").append(isLeaf);
        sb.append(", isActive=").append(isActive);
        sb.append(", englishName=").append(englishName);
        sb.append(", stdCode=").append(stdCode);
        sb.append(", enterpriseAccountSetId=").append(enterpriseAccountSetId);
        sb.append(", isDummy=").append(isDummy);
        sb.append(", isInVoucher=").append(isInVoucher);
        sb.append(", creatorId=").append(creatorId);
        sb.append(", updatorId=").append(updatorId);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}