package com.bailuntec.domain.entity;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Data;

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.long_cm
     *
     * @mbg.generated
     */
    private BigDecimal longCm;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.width_cm
     *
     * @mbg.generated
     */
    private BigDecimal widthCm;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.height_cm
     *
     * @mbg.generated
     */
    private BigDecimal heightCm;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_cn_material_usd
     *
     * @mbg.generated
     */
    private BigDecimal costCnMaterialUsd;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_us_material_usd
     *
     * @mbg.generated
     */
    private BigDecimal costUsMaterialUsd;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_transportation_usd
     *
     * @mbg.generated
     */
    private BigDecimal costTransportationUsd;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_weishang_usd
     *
     * @mbg.generated
     */
    private BigDecimal costWeishangUsd;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_xingxing_usd
     *
     * @mbg.generated
     */
    private BigDecimal costXingxingUsd;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_production_usd
     *
     * @mbg.generated
     */
    private BigDecimal costProductionUsd;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_total_factory_usd
     *
     * @mbg.generated
     */
    private BigDecimal costTotalFactoryUsd;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_us_total_factory_usd
     *
     * @mbg.generated
     */
    private BigDecimal costUsTotalFactoryUsd;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_date
     *
     * @mbg.generated
     */
    private LocalDate costDate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.exchange_rate
     *
     * @mbg.generated
     */
    private BigDecimal exchangeRate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_product_cny
     *
     * @mbg.generated
     */
    private BigDecimal costProductCny;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.cost_first_cny
     *
     * @mbg.generated
     */
    private BigDecimal costFirstCny;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.gmt_create
     *
     * @mbg.generated
     */
    private LocalDateTime gmtCreate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_base_cost_furnishing.gmt_modified
     *
     * @mbg.generated
     */
    private LocalDateTime gmtModified;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_cost_furnishing
     *
     * @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(", productName=").append(productName);
        sb.append(", productLine=").append(productLine);
        sb.append(", model=").append(model);
        sb.append(", sku=").append(sku);
        sb.append(", longCm=").append(longCm);
        sb.append(", widthCm=").append(widthCm);
        sb.append(", heightCm=").append(heightCm);
        sb.append(", costCnMaterialUsd=").append(costCnMaterialUsd);
        sb.append(", costUsMaterialUsd=").append(costUsMaterialUsd);
        sb.append(", costTransportationUsd=").append(costTransportationUsd);
        sb.append(", costWeishangUsd=").append(costWeishangUsd);
        sb.append(", costXingxingUsd=").append(costXingxingUsd);
        sb.append(", numberBoards=").append(numberBoards);
        sb.append(", costProductionUsd=").append(costProductionUsd);
        sb.append(", costTotalFactoryUsd=").append(costTotalFactoryUsd);
        sb.append(", costUsTotalFactoryUsd=").append(costUsTotalFactoryUsd);
        sb.append(", costDate=").append(costDate);
        sb.append(", exchangeRate=").append(exchangeRate);
        sb.append(", costProductCny=").append(costProductCny);
        sb.append(", costFirstCny=").append(costFirstCny);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_cost_furnishing
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DcBaseCostFurnishing other = (DcBaseCostFurnishing) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getProductName() == null ? other.getProductName() == null : this.getProductName().equals(other.getProductName()))
            && (this.getProductLine() == null ? other.getProductLine() == null : this.getProductLine().equals(other.getProductLine()))
            && (this.getModel() == null ? other.getModel() == null : this.getModel().equals(other.getModel()))
            && (this.getSku() == null ? other.getSku() == null : this.getSku().equals(other.getSku()))
            && (this.getLongCm() == null ? other.getLongCm() == null : this.getLongCm().equals(other.getLongCm()))
            && (this.getWidthCm() == null ? other.getWidthCm() == null : this.getWidthCm().equals(other.getWidthCm()))
            && (this.getHeightCm() == null ? other.getHeightCm() == null : this.getHeightCm().equals(other.getHeightCm()))
            && (this.getCostCnMaterialUsd() == null ? other.getCostCnMaterialUsd() == null : this.getCostCnMaterialUsd().equals(other.getCostCnMaterialUsd()))
            && (this.getCostUsMaterialUsd() == null ? other.getCostUsMaterialUsd() == null : this.getCostUsMaterialUsd().equals(other.getCostUsMaterialUsd()))
            && (this.getCostTransportationUsd() == null ? other.getCostTransportationUsd() == null : this.getCostTransportationUsd().equals(other.getCostTransportationUsd()))
            && (this.getCostWeishangUsd() == null ? other.getCostWeishangUsd() == null : this.getCostWeishangUsd().equals(other.getCostWeishangUsd()))
            && (this.getCostXingxingUsd() == null ? other.getCostXingxingUsd() == null : this.getCostXingxingUsd().equals(other.getCostXingxingUsd()))
            && (this.getNumberBoards() == null ? other.getNumberBoards() == null : this.getNumberBoards().equals(other.getNumberBoards()))
            && (this.getCostProductionUsd() == null ? other.getCostProductionUsd() == null : this.getCostProductionUsd().equals(other.getCostProductionUsd()))
            && (this.getCostTotalFactoryUsd() == null ? other.getCostTotalFactoryUsd() == null : this.getCostTotalFactoryUsd().equals(other.getCostTotalFactoryUsd()))
            && (this.getCostUsTotalFactoryUsd() == null ? other.getCostUsTotalFactoryUsd() == null : this.getCostUsTotalFactoryUsd().equals(other.getCostUsTotalFactoryUsd()))
            && (this.getCostDate() == null ? other.getCostDate() == null : this.getCostDate().equals(other.getCostDate()))
            && (this.getExchangeRate() == null ? other.getExchangeRate() == null : this.getExchangeRate().equals(other.getExchangeRate()))
            && (this.getCostProductCny() == null ? other.getCostProductCny() == null : this.getCostProductCny().equals(other.getCostProductCny()))
            && (this.getCostFirstCny() == null ? other.getCostFirstCny() == null : this.getCostFirstCny().equals(other.getCostFirstCny()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_cost_furnishing
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getProductName() == null) ? 0 : getProductName().hashCode());
        result = prime * result + ((getProductLine() == null) ? 0 : getProductLine().hashCode());
        result = prime * result + ((getModel() == null) ? 0 : getModel().hashCode());
        result = prime * result + ((getSku() == null) ? 0 : getSku().hashCode());
        result = prime * result + ((getLongCm() == null) ? 0 : getLongCm().hashCode());
        result = prime * result + ((getWidthCm() == null) ? 0 : getWidthCm().hashCode());
        result = prime * result + ((getHeightCm() == null) ? 0 : getHeightCm().hashCode());
        result = prime * result + ((getCostCnMaterialUsd() == null) ? 0 : getCostCnMaterialUsd().hashCode());
        result = prime * result + ((getCostUsMaterialUsd() == null) ? 0 : getCostUsMaterialUsd().hashCode());
        result = prime * result + ((getCostTransportationUsd() == null) ? 0 : getCostTransportationUsd().hashCode());
        result = prime * result + ((getCostWeishangUsd() == null) ? 0 : getCostWeishangUsd().hashCode());
        result = prime * result + ((getCostXingxingUsd() == null) ? 0 : getCostXingxingUsd().hashCode());
        result = prime * result + ((getNumberBoards() == null) ? 0 : getNumberBoards().hashCode());
        result = prime * result + ((getCostProductionUsd() == null) ? 0 : getCostProductionUsd().hashCode());
        result = prime * result + ((getCostTotalFactoryUsd() == null) ? 0 : getCostTotalFactoryUsd().hashCode());
        result = prime * result + ((getCostUsTotalFactoryUsd() == null) ? 0 : getCostUsTotalFactoryUsd().hashCode());
        result = prime * result + ((getCostDate() == null) ? 0 : getCostDate().hashCode());
        result = prime * result + ((getExchangeRate() == null) ? 0 : getExchangeRate().hashCode());
        result = prime * result + ((getCostProductCny() == null) ? 0 : getCostProductCny().hashCode());
        result = prime * result + ((getCostFirstCny() == null) ? 0 : getCostFirstCny().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }
}