package pwc.taxtech.atms.entity;

import java.io.Serializable;

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

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

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

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

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column standard_account.rule_type
     *
     * @mbg.generated
     */
    private Integer ruleType;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.id
     *
     * @param id the value for standard_account.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 standard_account.code
     *
     * @return the value of standard_account.code
     *
     * @mbg.generated
     */
    public String getCode() {
        return code;
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.name
     *
     * @param name the value for standard_account.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 standard_account.parent_code
     *
     * @return the value of standard_account.parent_code
     *
     * @mbg.generated
     */
    public String getParentCode() {
        return parentCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.parent_code
     *
     * @param parentCode the value for standard_account.parent_code
     *
     * @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 standard_account.full_name
     *
     * @return the value of standard_account.full_name
     *
     * @mbg.generated
     */
    public String getFullName() {
        return fullName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.full_name
     *
     * @param fullName the value for standard_account.full_name
     *
     * @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 standard_account.acct_prop
     *
     * @return the value of standard_account.acct_prop
     *
     * @mbg.generated
     */
    public Integer getAcctProp() {
        return acctProp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.acct_prop
     *
     * @param acctProp the value for standard_account.acct_prop
     *
     * @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 standard_account.sub_prop
     *
     * @return the value of standard_account.sub_prop
     *
     * @mbg.generated
     */
    public Integer getSubProp() {
        return subProp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.sub_prop
     *
     * @param subProp the value for standard_account.sub_prop
     *
     * @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 standard_account.acct_level
     *
     * @return the value of standard_account.acct_level
     *
     * @mbg.generated
     */
    public Integer getAcctLevel() {
        return acctLevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.acct_level
     *
     * @param acctLevel the value for standard_account.acct_level
     *
     * @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 standard_account.direction
     *
     * @return the value of standard_account.direction
     *
     * @mbg.generated
     */
    public Integer getDirection() {
        return direction;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.direction
     *
     * @param direction the value for standard_account.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 standard_account.is_leaf
     *
     * @return the value of standard_account.is_leaf
     *
     * @mbg.generated
     */
    public Boolean getIsLeaf() {
        return isLeaf;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.is_leaf
     *
     * @param isLeaf the value for standard_account.is_leaf
     *
     * @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 standard_account.rule_type
     *
     * @return the value of standard_account.rule_type
     *
     * @mbg.generated
     */
    public Integer getRuleType() {
        return ruleType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.rule_type
     *
     * @param ruleType the value for standard_account.rule_type
     *
     * @mbg.generated
     */
    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.is_active
     *
     * @param isActive the value for standard_account.is_active
     *
     * @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 standard_account.english_name
     *
     * @return the value of standard_account.english_name
     *
     * @mbg.generated
     */
    public String getEnglishName() {
        return englishName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column standard_account.english_name
     *
     * @param englishName the value for standard_account.english_name
     *
     * @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 standard_account.industry_id
     *
     * @return the value of standard_account.industry_id
     *
     * @mbg.generated
     */
    public String getIndustryId() {
        return industryId;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table standard_account
     *
     * @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(", code=").append(code);
        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(", ruleType=").append(ruleType);
        sb.append(", isActive=").append(isActive);
        sb.append(", englishName=").append(englishName);
        sb.append(", industryId=").append(industryId);
        sb.append("]");
        return sb.toString();
    }
}