package com.bailuntec.domain.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.seller
     *
     * @mbg.generated
     */
    @JSONField(name = "Seller")
    private String seller;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.seller_password
     *
     * @mbg.generated
     */
    @JSONField(name = "SellerPassword")
    private String sellerPassword;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.seller_user
     *
     * @mbg.generated
     */
    @JSONField(name = "SellerUser")
    private String sellerUser;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.abbreviation
     *
     * @mbg.generated
     */
    @JSONField(name = "Abbreviation")
    private String abbreviation;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.phone_number
     *
     * @mbg.generated
     */
    @JSONField(name = "PhoneNumber")
    private String phoneNumber;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.phone_number_user
     *
     * @mbg.generated
     */
    @JSONField(name = "PhoneNumberUser")
    private String phoneNumberUser;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.merchant
     *
     * @mbg.generated
     */
    @JSONField(name = "Merchant")
    private String merchant;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.credit_card
     *
     * @mbg.generated
     */
    @JSONField(name = "CreditCard")
    private String creditCard;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.credit_card_user
     *
     * @mbg.generated
     */
    @JSONField(name = "CreditCardUser")
    private String creditCardUser;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.credit_card_expiration_date
     *
     * @mbg.generated
     */
    @JSONField(name = "CreditCardExpirationDate")
    private Date creditCardExpirationDate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.withdraw_bank
     *
     * @mbg.generated
     */
    @JSONField(name = "WithdrawBank")
    private String withdrawBank;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.api_user_name
     *
     * @mbg.generated
     */
    @JSONField(name = "ApiUserName")
    private String apiUserName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.api_password
     *
     * @mbg.generated
     */
    @JSONField(name = "ApiPassword")
    private String apiPassword;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.api_signature
     *
     * @mbg.generated
     */
    @JSONField(name = "ApiSignature")
    private String apiSignature;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.auth_json
     *
     * @mbg.generated
     */
    @JSONField(name = "AuthJson")
    private String authJson;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.auth_time
     *
     * @mbg.generated
     */
    @JSONField(name = "AuthTime")
    private Date authTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.auth_token_expire_time
     *
     * @mbg.generated
     */
    @JSONField(name = "AuthTokenExpireTime")
    private Date authTokenExpireTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.create_user_id
     *
     * @mbg.generated
     */
    @JSONField(name = "CreateUserId")
    private Integer createUserId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.create_user_name
     *
     * @mbg.generated
     */
    @JSONField(name = "CreateUserName")
    private String createUserName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.create_time
     *
     * @mbg.generated
     */
    @JSONField(name = "CreateTime")
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.modify_user_id
     *
     * @mbg.generated
     */
    @JSONField(name = "ModifyUserId")
    private Integer modifyUserId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.modify_user_name
     *
     * @mbg.generated
     */
    @JSONField(name = "ModifyUserName")
    private String modifyUserName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.modify_time
     *
     * @mbg.generated
     */
    @JSONField(name = "ModifyTime")
    private Date modifyTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.company_id
     *
     * @mbg.generated
     */
    @JSONField(name = "CompanyId")
    private Integer companyId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_paypal_account.paypal_id
     *
     * @mbg.generated
     */
    @JSONField(name = "Id")
    private Integer paypalId;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_paypal_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(", seller=").append(seller);
        sb.append(", sellerPassword=").append(sellerPassword);
        sb.append(", sellerUser=").append(sellerUser);
        sb.append(", abbreviation=").append(abbreviation);
        sb.append(", phoneNumber=").append(phoneNumber);
        sb.append(", phoneNumberUser=").append(phoneNumberUser);
        sb.append(", merchant=").append(merchant);
        sb.append(", creditCard=").append(creditCard);
        sb.append(", creditCardUser=").append(creditCardUser);
        sb.append(", creditCardExpirationDate=").append(creditCardExpirationDate);
        sb.append(", withdrawBank=").append(withdrawBank);
        sb.append(", apiUserName=").append(apiUserName);
        sb.append(", apiPassword=").append(apiPassword);
        sb.append(", apiSignature=").append(apiSignature);
        sb.append(", authJson=").append(authJson);
        sb.append(", authTime=").append(authTime);
        sb.append(", authTokenExpireTime=").append(authTokenExpireTime);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", createUserName=").append(createUserName);
        sb.append(", createTime=").append(createTime);
        sb.append(", modifyUserId=").append(modifyUserId);
        sb.append(", modifyUserName=").append(modifyUserName);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", companyId=").append(companyId);
        sb.append(", paypalId=").append(paypalId);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_paypal_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;
        }
        PaypalAccountInfo other = (PaypalAccountInfo) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getSeller() == null ? other.getSeller() == null : this.getSeller().equals(other.getSeller()))
            && (this.getSellerPassword() == null ? other.getSellerPassword() == null : this.getSellerPassword().equals(other.getSellerPassword()))
            && (this.getSellerUser() == null ? other.getSellerUser() == null : this.getSellerUser().equals(other.getSellerUser()))
            && (this.getAbbreviation() == null ? other.getAbbreviation() == null : this.getAbbreviation().equals(other.getAbbreviation()))
            && (this.getPhoneNumber() == null ? other.getPhoneNumber() == null : this.getPhoneNumber().equals(other.getPhoneNumber()))
            && (this.getPhoneNumberUser() == null ? other.getPhoneNumberUser() == null : this.getPhoneNumberUser().equals(other.getPhoneNumberUser()))
            && (this.getMerchant() == null ? other.getMerchant() == null : this.getMerchant().equals(other.getMerchant()))
            && (this.getCreditCard() == null ? other.getCreditCard() == null : this.getCreditCard().equals(other.getCreditCard()))
            && (this.getCreditCardUser() == null ? other.getCreditCardUser() == null : this.getCreditCardUser().equals(other.getCreditCardUser()))
            && (this.getCreditCardExpirationDate() == null ? other.getCreditCardExpirationDate() == null : this.getCreditCardExpirationDate().equals(other.getCreditCardExpirationDate()))
            && (this.getWithdrawBank() == null ? other.getWithdrawBank() == null : this.getWithdrawBank().equals(other.getWithdrawBank()))
            && (this.getApiUserName() == null ? other.getApiUserName() == null : this.getApiUserName().equals(other.getApiUserName()))
            && (this.getApiPassword() == null ? other.getApiPassword() == null : this.getApiPassword().equals(other.getApiPassword()))
            && (this.getApiSignature() == null ? other.getApiSignature() == null : this.getApiSignature().equals(other.getApiSignature()))
            && (this.getAuthJson() == null ? other.getAuthJson() == null : this.getAuthJson().equals(other.getAuthJson()))
            && (this.getAuthTime() == null ? other.getAuthTime() == null : this.getAuthTime().equals(other.getAuthTime()))
            && (this.getAuthTokenExpireTime() == null ? other.getAuthTokenExpireTime() == null : this.getAuthTokenExpireTime().equals(other.getAuthTokenExpireTime()))
            && (this.getCreateUserId() == null ? other.getCreateUserId() == null : this.getCreateUserId().equals(other.getCreateUserId()))
            && (this.getCreateUserName() == null ? other.getCreateUserName() == null : this.getCreateUserName().equals(other.getCreateUserName()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getModifyUserId() == null ? other.getModifyUserId() == null : this.getModifyUserId().equals(other.getModifyUserId()))
            && (this.getModifyUserName() == null ? other.getModifyUserName() == null : this.getModifyUserName().equals(other.getModifyUserName()))
            && (this.getModifyTime() == null ? other.getModifyTime() == null : this.getModifyTime().equals(other.getModifyTime()))
            && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
            && (this.getPaypalId() == null ? other.getPaypalId() == null : this.getPaypalId().equals(other.getPaypalId()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_paypal_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 + ((getSeller() == null) ? 0 : getSeller().hashCode());
        result = prime * result + ((getSellerPassword() == null) ? 0 : getSellerPassword().hashCode());
        result = prime * result + ((getSellerUser() == null) ? 0 : getSellerUser().hashCode());
        result = prime * result + ((getAbbreviation() == null) ? 0 : getAbbreviation().hashCode());
        result = prime * result + ((getPhoneNumber() == null) ? 0 : getPhoneNumber().hashCode());
        result = prime * result + ((getPhoneNumberUser() == null) ? 0 : getPhoneNumberUser().hashCode());
        result = prime * result + ((getMerchant() == null) ? 0 : getMerchant().hashCode());
        result = prime * result + ((getCreditCard() == null) ? 0 : getCreditCard().hashCode());
        result = prime * result + ((getCreditCardUser() == null) ? 0 : getCreditCardUser().hashCode());
        result = prime * result + ((getCreditCardExpirationDate() == null) ? 0 : getCreditCardExpirationDate().hashCode());
        result = prime * result + ((getWithdrawBank() == null) ? 0 : getWithdrawBank().hashCode());
        result = prime * result + ((getApiUserName() == null) ? 0 : getApiUserName().hashCode());
        result = prime * result + ((getApiPassword() == null) ? 0 : getApiPassword().hashCode());
        result = prime * result + ((getApiSignature() == null) ? 0 : getApiSignature().hashCode());
        result = prime * result + ((getAuthJson() == null) ? 0 : getAuthJson().hashCode());
        result = prime * result + ((getAuthTime() == null) ? 0 : getAuthTime().hashCode());
        result = prime * result + ((getAuthTokenExpireTime() == null) ? 0 : getAuthTokenExpireTime().hashCode());
        result = prime * result + ((getCreateUserId() == null) ? 0 : getCreateUserId().hashCode());
        result = prime * result + ((getCreateUserName() == null) ? 0 : getCreateUserName().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getModifyUserId() == null) ? 0 : getModifyUserId().hashCode());
        result = prime * result + ((getModifyUserName() == null) ? 0 : getModifyUserName().hashCode());
        result = prime * result + ((getModifyTime() == null) ? 0 : getModifyTime().hashCode());
        result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
        result = prime * result + ((getPaypalId() == null) ? 0 : getPaypalId().hashCode());
        return result;
    }
}