package com.bailuntec.domain.entity;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DcBaseCompanyAccount {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_company_account.id
     *
     * @mbg.generated
     */
    private Integer id;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_company_account.bj_create
     *
     * @mbg.generated
     */
    private LocalDateTime bjCreate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_company_account.bj_modified
     *
     * @mbg.generated
     */
    private LocalDateTime bjModified;

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_company_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(", companyId=").append(companyId);
        sb.append(", accountId=").append(accountId);
        sb.append(", accountName=").append(accountName);
        sb.append(", accountEmail=").append(accountEmail);
        sb.append(", omsCode=").append(omsCode);
        sb.append(", omsAccount=").append(omsAccount);
        sb.append(", platformId=").append(platformId);
        sb.append(", platformCn=").append(platformCn);
        sb.append(", platformEn=").append(platformEn);
        sb.append(", siteId=").append(siteId);
        sb.append(", siteCn=").append(siteCn);
        sb.append(", siteEn=").append(siteEn);
        sb.append(", authJson=").append(authJson);
        sb.append(", status=").append(status);
        sb.append(", statusCn=").append(statusCn);
        sb.append(", soapAuthToken=").append(soapAuthToken);
        sb.append(", soapAuthStatus=").append(soapAuthStatus);
        sb.append(", authStatus=").append(authStatus);
        sb.append(", extensionInfo=").append(extensionInfo);
        sb.append(", developerJson=").append(developerJson);
        sb.append(", manager=").append(manager);
        sb.append(", sellerId=").append(sellerId);
        sb.append(", ebayAdAuthJson=").append(ebayAdAuthJson);
        sb.append(", bjCreate=").append(bjCreate);
        sb.append(", bjModified=").append(bjModified);
        sb.append(", amazonAdAuthJson=").append(amazonAdAuthJson);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_company_account
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DcBaseCompanyAccount other = (DcBaseCompanyAccount) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
            && (this.getAccountId() == null ? other.getAccountId() == null : this.getAccountId().equals(other.getAccountId()))
            && (this.getAccountName() == null ? other.getAccountName() == null : this.getAccountName().equals(other.getAccountName()))
            && (this.getAccountEmail() == null ? other.getAccountEmail() == null : this.getAccountEmail().equals(other.getAccountEmail()))
            && (this.getOmsCode() == null ? other.getOmsCode() == null : this.getOmsCode().equals(other.getOmsCode()))
            && (this.getOmsAccount() == null ? other.getOmsAccount() == null : this.getOmsAccount().equals(other.getOmsAccount()))
            && (this.getPlatformId() == null ? other.getPlatformId() == null : this.getPlatformId().equals(other.getPlatformId()))
            && (this.getPlatformCn() == null ? other.getPlatformCn() == null : this.getPlatformCn().equals(other.getPlatformCn()))
            && (this.getPlatformEn() == null ? other.getPlatformEn() == null : this.getPlatformEn().equals(other.getPlatformEn()))
            && (this.getSiteId() == null ? other.getSiteId() == null : this.getSiteId().equals(other.getSiteId()))
            && (this.getSiteCn() == null ? other.getSiteCn() == null : this.getSiteCn().equals(other.getSiteCn()))
            && (this.getSiteEn() == null ? other.getSiteEn() == null : this.getSiteEn().equals(other.getSiteEn()))
            && (this.getAuthJson() == null ? other.getAuthJson() == null : this.getAuthJson().equals(other.getAuthJson()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getStatusCn() == null ? other.getStatusCn() == null : this.getStatusCn().equals(other.getStatusCn()))
            && (this.getSoapAuthToken() == null ? other.getSoapAuthToken() == null : this.getSoapAuthToken().equals(other.getSoapAuthToken()))
            && (this.getSoapAuthStatus() == null ? other.getSoapAuthStatus() == null : this.getSoapAuthStatus().equals(other.getSoapAuthStatus()))
            && (this.getAuthStatus() == null ? other.getAuthStatus() == null : this.getAuthStatus().equals(other.getAuthStatus()))
            && (this.getExtensionInfo() == null ? other.getExtensionInfo() == null : this.getExtensionInfo().equals(other.getExtensionInfo()))
            && (this.getDeveloperJson() == null ? other.getDeveloperJson() == null : this.getDeveloperJson().equals(other.getDeveloperJson()))
            && (this.getManager() == null ? other.getManager() == null : this.getManager().equals(other.getManager()))
            && (this.getSellerId() == null ? other.getSellerId() == null : this.getSellerId().equals(other.getSellerId()))
            && (this.getEbayAdAuthJson() == null ? other.getEbayAdAuthJson() == null : this.getEbayAdAuthJson().equals(other.getEbayAdAuthJson()))
            && (this.getBjCreate() == null ? other.getBjCreate() == null : this.getBjCreate().equals(other.getBjCreate()))
            && (this.getBjModified() == null ? other.getBjModified() == null : this.getBjModified().equals(other.getBjModified()))
            && (this.getAmazonAdAuthJson() == null ? other.getAmazonAdAuthJson() == null : this.getAmazonAdAuthJson().equals(other.getAmazonAdAuthJson()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_company_account
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
        result = prime * result + ((getAccountId() == null) ? 0 : getAccountId().hashCode());
        result = prime * result + ((getAccountName() == null) ? 0 : getAccountName().hashCode());
        result = prime * result + ((getAccountEmail() == null) ? 0 : getAccountEmail().hashCode());
        result = prime * result + ((getOmsCode() == null) ? 0 : getOmsCode().hashCode());
        result = prime * result + ((getOmsAccount() == null) ? 0 : getOmsAccount().hashCode());
        result = prime * result + ((getPlatformId() == null) ? 0 : getPlatformId().hashCode());
        result = prime * result + ((getPlatformCn() == null) ? 0 : getPlatformCn().hashCode());
        result = prime * result + ((getPlatformEn() == null) ? 0 : getPlatformEn().hashCode());
        result = prime * result + ((getSiteId() == null) ? 0 : getSiteId().hashCode());
        result = prime * result + ((getSiteCn() == null) ? 0 : getSiteCn().hashCode());
        result = prime * result + ((getSiteEn() == null) ? 0 : getSiteEn().hashCode());
        result = prime * result + ((getAuthJson() == null) ? 0 : getAuthJson().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getStatusCn() == null) ? 0 : getStatusCn().hashCode());
        result = prime * result + ((getSoapAuthToken() == null) ? 0 : getSoapAuthToken().hashCode());
        result = prime * result + ((getSoapAuthStatus() == null) ? 0 : getSoapAuthStatus().hashCode());
        result = prime * result + ((getAuthStatus() == null) ? 0 : getAuthStatus().hashCode());
        result = prime * result + ((getExtensionInfo() == null) ? 0 : getExtensionInfo().hashCode());
        result = prime * result + ((getDeveloperJson() == null) ? 0 : getDeveloperJson().hashCode());
        result = prime * result + ((getManager() == null) ? 0 : getManager().hashCode());
        result = prime * result + ((getSellerId() == null) ? 0 : getSellerId().hashCode());
        result = prime * result + ((getEbayAdAuthJson() == null) ? 0 : getEbayAdAuthJson().hashCode());
        result = prime * result + ((getBjCreate() == null) ? 0 : getBjCreate().hashCode());
        result = prime * result + ((getBjModified() == null) ? 0 : getBjModified().hashCode());
        result = prime * result + ((getAmazonAdAuthJson() == null) ? 0 : getAmazonAdAuthJson().hashCode());
        return result;
    }
}