package com.bailuntec.domain.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_today_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTodaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_oneday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastOnedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twoday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwodaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_threeday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastThreedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_fourthday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastFourthdaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_fiveday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastFivedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_sixday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastSixdaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_sevenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastSevendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_eightday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastEightdaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_nineday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastNinedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_tenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_elevenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastElevendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twelveday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwelvedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_thridteenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastThridteendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_fourteenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastFourteendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_fifteenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastFifteendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_sixteenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastSixteendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_seventeenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastSeventeendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_eighteenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastEighteendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_nineteenday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastNineteendaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twentyday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentydaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_oneday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentyOnedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_twoday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentyTwodaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_threeday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentyThreedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_fourthday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentyFourthdaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_fiveday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentyFivedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_sixday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentySixdaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_seveneday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentySevenedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_eightday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentyEightdaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_twenty_nineday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastTwentyNinedaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.forecast_thirtyday_sales
     *
     * @mbg.generated
     */
    private BigDecimal forecastThirtydaySales;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.k_variable
     *
     * @mbg.generated
     */
    private BigDecimal kVariable;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.b_variable
     *
     * @mbg.generated
     */
    private BigDecimal bVariable;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.r_variable
     *
     * @mbg.generated
     */
    private BigDecimal rVariable;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.average_sales
     *
     * @mbg.generated
     */
    private BigDecimal averageSales;

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.fit_a_variable
     *
     * @mbg.generated
     */
    private BigDecimal fitAVariable;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.fit_b_variable
     *
     * @mbg.generated
     */
    private BigDecimal fitBVariable;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_auto_sales.fit_r_variable
     *
     * @mbg.generated
     */
    private BigDecimal fitRVariable;

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

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

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

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


    public DcAutoSales() {
    }

    public DcAutoSales(String bailunSku, String warehouseCode) {
        this.forecastFormula = "y = 0.00000x + 0.00000";
        this.bailunSku = bailunSku;
        this.title = "";
        this.warehouseCode = warehouseCode;
        this.categoryId = 0;
        this.onedaySales = 0;
        this.twodaySales = 0;
        this.threedaySales = 0;
        this.fourthdaySales = 0;
        this.fivedaySales = 0;
        this.sixdaySales = 0;
        this.sevendaySales = 0;
        this.eightdaySales = 0;
        this.ninedaySales = 0;
        this.tendaySales = 0;
        this.elevendaySales = 0;
        this.twelvedaySales = 0;
        this.thridteendaySales = 0;
        this.fourteendaySales = 0;
        this.fifteendaySales = 0;
        this.sixteendaySales = 0;
        this.seventeendaySales = 0;
        this.eighteendaySales = 0;
        this.nineteendaySales = 0;
        this.twentydaySales = 0;
        this.twentyOnedaySales = 0;
        this.twentyTwodaySales = 0;
        this.twentyThreedaySales = 0;
        this.twentyFourthdaySales = 0;
        this.twentyFivedaySales = 0;
        this.twentySixdaySales = 0;
        this.twentySevenedaySales = 0;
        this.twentyEightdaySales = 0;
        this.twentyNinedaySales = 0;
        this.thirtydaySales = 0;
        this.warehouseName = "";
        this.forecastTodaySales = BigDecimal.ZERO;
        this.forecastOnedaySales = BigDecimal.ZERO;
        this.forecastTwodaySales = BigDecimal.ZERO;
        this.forecastThreedaySales = BigDecimal.ZERO;
        this.forecastFourthdaySales = BigDecimal.ZERO;
        this.forecastFivedaySales = BigDecimal.ZERO;
        this.forecastSixdaySales = BigDecimal.ZERO;
        this.forecastSevendaySales = BigDecimal.ZERO;
        this.forecastEightdaySales = BigDecimal.ZERO;
        this.forecastNinedaySales = BigDecimal.ZERO;
        this.forecastTendaySales = BigDecimal.ZERO;
        this.forecastElevendaySales = BigDecimal.ZERO;
        this.forecastTwelvedaySales = BigDecimal.ZERO;
        this.forecastThridteendaySales = BigDecimal.ZERO;
        this.forecastFourteendaySales = BigDecimal.ZERO;
        this.forecastFifteendaySales = BigDecimal.ZERO;
        this.forecastSixteendaySales = BigDecimal.ZERO;
        this.forecastSeventeendaySales = BigDecimal.ZERO;
        this.forecastEighteendaySales = BigDecimal.ZERO;
        this.forecastNineteendaySales = BigDecimal.ZERO;
        this.forecastTwentydaySales = BigDecimal.ZERO;
        this.forecastTwentyOnedaySales = BigDecimal.ZERO;
        this.forecastTwentyTwodaySales = BigDecimal.ZERO;
        this.forecastTwentyThreedaySales = BigDecimal.ZERO;
        this.forecastTwentyFourthdaySales = BigDecimal.ZERO;
        this.forecastTwentyFivedaySales = BigDecimal.ZERO;
        this.forecastTwentySixdaySales = BigDecimal.ZERO;
        this.forecastTwentySevenedaySales = BigDecimal.ZERO;
        this.forecastTwentyEightdaySales = BigDecimal.ZERO;
        this.forecastTwentyNinedaySales = BigDecimal.ZERO;
        this.forecastThirtydaySales = BigDecimal.ZERO;
        this.kVariable = BigDecimal.ZERO;
        this.bVariable = BigDecimal.ZERO;
        this.rVariable = BigDecimal.ZERO;
        this.averageSales = BigDecimal.ZERO;
        this.fitAVariable = BigDecimal.ZERO;
        this.fitBVariable = BigDecimal.ZERO;
        this.fitRVariable = BigDecimal.ZERO;
        this.fitForecastFormula = "y = 0.000ln(x) +0.000";
        this.historySalesDetails = "[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]";
        this.details = "";
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_sales
     *
     * @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(", forecastFormula=").append(forecastFormula);
        sb.append(", bailunSku=").append(bailunSku);
        sb.append(", title=").append(title);
        sb.append(", warehouseCode=").append(warehouseCode);
        sb.append(", categoryId=").append(categoryId);
        sb.append(", onedaySales=").append(onedaySales);
        sb.append(", twodaySales=").append(twodaySales);
        sb.append(", threedaySales=").append(threedaySales);
        sb.append(", fourthdaySales=").append(fourthdaySales);
        sb.append(", fivedaySales=").append(fivedaySales);
        sb.append(", sixdaySales=").append(sixdaySales);
        sb.append(", sevendaySales=").append(sevendaySales);
        sb.append(", eightdaySales=").append(eightdaySales);
        sb.append(", ninedaySales=").append(ninedaySales);
        sb.append(", tendaySales=").append(tendaySales);
        sb.append(", elevendaySales=").append(elevendaySales);
        sb.append(", twelvedaySales=").append(twelvedaySales);
        sb.append(", thridteendaySales=").append(thridteendaySales);
        sb.append(", fourteendaySales=").append(fourteendaySales);
        sb.append(", fifteendaySales=").append(fifteendaySales);
        sb.append(", sixteendaySales=").append(sixteendaySales);
        sb.append(", seventeendaySales=").append(seventeendaySales);
        sb.append(", eighteendaySales=").append(eighteendaySales);
        sb.append(", nineteendaySales=").append(nineteendaySales);
        sb.append(", twentydaySales=").append(twentydaySales);
        sb.append(", twentyOnedaySales=").append(twentyOnedaySales);
        sb.append(", twentyTwodaySales=").append(twentyTwodaySales);
        sb.append(", twentyThreedaySales=").append(twentyThreedaySales);
        sb.append(", twentyFourthdaySales=").append(twentyFourthdaySales);
        sb.append(", twentyFivedaySales=").append(twentyFivedaySales);
        sb.append(", twentySixdaySales=").append(twentySixdaySales);
        sb.append(", twentySevenedaySales=").append(twentySevenedaySales);
        sb.append(", twentyEightdaySales=").append(twentyEightdaySales);
        sb.append(", twentyNinedaySales=").append(twentyNinedaySales);
        sb.append(", thirtydaySales=").append(thirtydaySales);
        sb.append(", warehouseName=").append(warehouseName);
        sb.append(", forecastTodaySales=").append(forecastTodaySales);
        sb.append(", forecastOnedaySales=").append(forecastOnedaySales);
        sb.append(", forecastTwodaySales=").append(forecastTwodaySales);
        sb.append(", forecastThreedaySales=").append(forecastThreedaySales);
        sb.append(", forecastFourthdaySales=").append(forecastFourthdaySales);
        sb.append(", forecastFivedaySales=").append(forecastFivedaySales);
        sb.append(", forecastSixdaySales=").append(forecastSixdaySales);
        sb.append(", forecastSevendaySales=").append(forecastSevendaySales);
        sb.append(", forecastEightdaySales=").append(forecastEightdaySales);
        sb.append(", forecastNinedaySales=").append(forecastNinedaySales);
        sb.append(", forecastTendaySales=").append(forecastTendaySales);
        sb.append(", forecastElevendaySales=").append(forecastElevendaySales);
        sb.append(", forecastTwelvedaySales=").append(forecastTwelvedaySales);
        sb.append(", forecastThridteendaySales=").append(forecastThridteendaySales);
        sb.append(", forecastFourteendaySales=").append(forecastFourteendaySales);
        sb.append(", forecastFifteendaySales=").append(forecastFifteendaySales);
        sb.append(", forecastSixteendaySales=").append(forecastSixteendaySales);
        sb.append(", forecastSeventeendaySales=").append(forecastSeventeendaySales);
        sb.append(", forecastEighteendaySales=").append(forecastEighteendaySales);
        sb.append(", forecastNineteendaySales=").append(forecastNineteendaySales);
        sb.append(", forecastTwentydaySales=").append(forecastTwentydaySales);
        sb.append(", forecastTwentyOnedaySales=").append(forecastTwentyOnedaySales);
        sb.append(", forecastTwentyTwodaySales=").append(forecastTwentyTwodaySales);
        sb.append(", forecastTwentyThreedaySales=").append(forecastTwentyThreedaySales);
        sb.append(", forecastTwentyFourthdaySales=").append(forecastTwentyFourthdaySales);
        sb.append(", forecastTwentyFivedaySales=").append(forecastTwentyFivedaySales);
        sb.append(", forecastTwentySixdaySales=").append(forecastTwentySixdaySales);
        sb.append(", forecastTwentySevenedaySales=").append(forecastTwentySevenedaySales);
        sb.append(", forecastTwentyEightdaySales=").append(forecastTwentyEightdaySales);
        sb.append(", forecastTwentyNinedaySales=").append(forecastTwentyNinedaySales);
        sb.append(", forecastThirtydaySales=").append(forecastThirtydaySales);
        sb.append(", kVariable=").append(kVariable);
        sb.append(", bVariable=").append(bVariable);
        sb.append(", rVariable=").append(rVariable);
        sb.append(", averageSales=").append(averageSales);
        sb.append(", details=").append(details);
        sb.append(", fitAVariable=").append(fitAVariable);
        sb.append(", fitBVariable=").append(fitBVariable);
        sb.append(", fitRVariable=").append(fitRVariable);
        sb.append(", fitForecastFormula=").append(fitForecastFormula);
        sb.append(", historySalesDetails=").append(historySalesDetails);
        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_auto_sales
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        DcAutoSales that = (DcAutoSales) o;

        if (id != null ? !id.equals(that.id) : that.id != null) return false;
        if (forecastFormula != null ? !forecastFormula.equals(that.forecastFormula) : that.forecastFormula != null)
            return false;
        if (bailunSku != null ? !bailunSku.equals(that.bailunSku) : that.bailunSku != null) return false;
        if (title != null ? !title.equals(that.title) : that.title != null) return false;
        if (warehouseCode != null ? !warehouseCode.equals(that.warehouseCode) : that.warehouseCode != null)
            return false;
        if (categoryId != null ? !categoryId.equals(that.categoryId) : that.categoryId != null) return false;
        if (onedaySales != null ? !onedaySales.equals(that.onedaySales) : that.onedaySales != null) return false;
        if (twodaySales != null ? !twodaySales.equals(that.twodaySales) : that.twodaySales != null) return false;
        if (threedaySales != null ? !threedaySales.equals(that.threedaySales) : that.threedaySales != null)
            return false;
        if (fourthdaySales != null ? !fourthdaySales.equals(that.fourthdaySales) : that.fourthdaySales != null)
            return false;
        if (fivedaySales != null ? !fivedaySales.equals(that.fivedaySales) : that.fivedaySales != null) return false;
        if (sixdaySales != null ? !sixdaySales.equals(that.sixdaySales) : that.sixdaySales != null) return false;
        if (sevendaySales != null ? !sevendaySales.equals(that.sevendaySales) : that.sevendaySales != null)
            return false;
        if (eightdaySales != null ? !eightdaySales.equals(that.eightdaySales) : that.eightdaySales != null)
            return false;
        if (ninedaySales != null ? !ninedaySales.equals(that.ninedaySales) : that.ninedaySales != null) return false;
        if (tendaySales != null ? !tendaySales.equals(that.tendaySales) : that.tendaySales != null) return false;
        if (elevendaySales != null ? !elevendaySales.equals(that.elevendaySales) : that.elevendaySales != null)
            return false;
        if (twelvedaySales != null ? !twelvedaySales.equals(that.twelvedaySales) : that.twelvedaySales != null)
            return false;
        if (thridteendaySales != null ? !thridteendaySales.equals(that.thridteendaySales) : that.thridteendaySales != null)
            return false;
        if (fourteendaySales != null ? !fourteendaySales.equals(that.fourteendaySales) : that.fourteendaySales != null)
            return false;
        if (fifteendaySales != null ? !fifteendaySales.equals(that.fifteendaySales) : that.fifteendaySales != null)
            return false;
        if (sixteendaySales != null ? !sixteendaySales.equals(that.sixteendaySales) : that.sixteendaySales != null)
            return false;
        if (seventeendaySales != null ? !seventeendaySales.equals(that.seventeendaySales) : that.seventeendaySales != null)
            return false;
        if (eighteendaySales != null ? !eighteendaySales.equals(that.eighteendaySales) : that.eighteendaySales != null)
            return false;
        if (nineteendaySales != null ? !nineteendaySales.equals(that.nineteendaySales) : that.nineteendaySales != null)
            return false;
        if (twentydaySales != null ? !twentydaySales.equals(that.twentydaySales) : that.twentydaySales != null)
            return false;
        if (twentyOnedaySales != null ? !twentyOnedaySales.equals(that.twentyOnedaySales) : that.twentyOnedaySales != null)
            return false;
        if (twentyTwodaySales != null ? !twentyTwodaySales.equals(that.twentyTwodaySales) : that.twentyTwodaySales != null)
            return false;
        if (twentyThreedaySales != null ? !twentyThreedaySales.equals(that.twentyThreedaySales) : that.twentyThreedaySales != null)
            return false;
        if (twentyFourthdaySales != null ? !twentyFourthdaySales.equals(that.twentyFourthdaySales) : that.twentyFourthdaySales != null)
            return false;
        if (twentyFivedaySales != null ? !twentyFivedaySales.equals(that.twentyFivedaySales) : that.twentyFivedaySales != null)
            return false;
        if (twentySixdaySales != null ? !twentySixdaySales.equals(that.twentySixdaySales) : that.twentySixdaySales != null)
            return false;
        if (twentySevenedaySales != null ? !twentySevenedaySales.equals(that.twentySevenedaySales) : that.twentySevenedaySales != null)
            return false;
        if (twentyEightdaySales != null ? !twentyEightdaySales.equals(that.twentyEightdaySales) : that.twentyEightdaySales != null)
            return false;
        if (twentyNinedaySales != null ? !twentyNinedaySales.equals(that.twentyNinedaySales) : that.twentyNinedaySales != null)
            return false;
        if (thirtydaySales != null ? !thirtydaySales.equals(that.thirtydaySales) : that.thirtydaySales != null)
            return false;
        if (warehouseName != null ? !warehouseName.equals(that.warehouseName) : that.warehouseName != null)
            return false;
        if (forecastTodaySales != null ? !forecastTodaySales.equals(that.forecastTodaySales) : that.forecastTodaySales != null)
            return false;
        if (forecastOnedaySales != null ? !forecastOnedaySales.equals(that.forecastOnedaySales) : that.forecastOnedaySales != null)
            return false;
        if (forecastTwodaySales != null ? !forecastTwodaySales.equals(that.forecastTwodaySales) : that.forecastTwodaySales != null)
            return false;
        if (forecastThreedaySales != null ? !forecastThreedaySales.equals(that.forecastThreedaySales) : that.forecastThreedaySales != null)
            return false;
        if (forecastFourthdaySales != null ? !forecastFourthdaySales.equals(that.forecastFourthdaySales) : that.forecastFourthdaySales != null)
            return false;
        if (forecastFivedaySales != null ? !forecastFivedaySales.equals(that.forecastFivedaySales) : that.forecastFivedaySales != null)
            return false;
        if (forecastSixdaySales != null ? !forecastSixdaySales.equals(that.forecastSixdaySales) : that.forecastSixdaySales != null)
            return false;
        if (forecastSevendaySales != null ? !forecastSevendaySales.equals(that.forecastSevendaySales) : that.forecastSevendaySales != null)
            return false;
        if (forecastEightdaySales != null ? !forecastEightdaySales.equals(that.forecastEightdaySales) : that.forecastEightdaySales != null)
            return false;
        if (forecastNinedaySales != null ? !forecastNinedaySales.equals(that.forecastNinedaySales) : that.forecastNinedaySales != null)
            return false;
        if (forecastTendaySales != null ? !forecastTendaySales.equals(that.forecastTendaySales) : that.forecastTendaySales != null)
            return false;
        if (forecastElevendaySales != null ? !forecastElevendaySales.equals(that.forecastElevendaySales) : that.forecastElevendaySales != null)
            return false;
        if (forecastTwelvedaySales != null ? !forecastTwelvedaySales.equals(that.forecastTwelvedaySales) : that.forecastTwelvedaySales != null)
            return false;
        if (forecastThridteendaySales != null ? !forecastThridteendaySales.equals(that.forecastThridteendaySales) : that.forecastThridteendaySales != null)
            return false;
        if (forecastFourteendaySales != null ? !forecastFourteendaySales.equals(that.forecastFourteendaySales) : that.forecastFourteendaySales != null)
            return false;
        if (forecastFifteendaySales != null ? !forecastFifteendaySales.equals(that.forecastFifteendaySales) : that.forecastFifteendaySales != null)
            return false;
        if (forecastSixteendaySales != null ? !forecastSixteendaySales.equals(that.forecastSixteendaySales) : that.forecastSixteendaySales != null)
            return false;
        if (forecastSeventeendaySales != null ? !forecastSeventeendaySales.equals(that.forecastSeventeendaySales) : that.forecastSeventeendaySales != null)
            return false;
        if (forecastEighteendaySales != null ? !forecastEighteendaySales.equals(that.forecastEighteendaySales) : that.forecastEighteendaySales != null)
            return false;
        if (forecastNineteendaySales != null ? !forecastNineteendaySales.equals(that.forecastNineteendaySales) : that.forecastNineteendaySales != null)
            return false;
        if (forecastTwentydaySales != null ? !forecastTwentydaySales.equals(that.forecastTwentydaySales) : that.forecastTwentydaySales != null)
            return false;
        if (forecastTwentyOnedaySales != null ? !forecastTwentyOnedaySales.equals(that.forecastTwentyOnedaySales) : that.forecastTwentyOnedaySales != null)
            return false;
        if (forecastTwentyTwodaySales != null ? !forecastTwentyTwodaySales.equals(that.forecastTwentyTwodaySales) : that.forecastTwentyTwodaySales != null)
            return false;
        if (forecastTwentyThreedaySales != null ? !forecastTwentyThreedaySales.equals(that.forecastTwentyThreedaySales) : that.forecastTwentyThreedaySales != null)
            return false;
        if (forecastTwentyFourthdaySales != null ? !forecastTwentyFourthdaySales.equals(that.forecastTwentyFourthdaySales) : that.forecastTwentyFourthdaySales != null)
            return false;
        if (forecastTwentyFivedaySales != null ? !forecastTwentyFivedaySales.equals(that.forecastTwentyFivedaySales) : that.forecastTwentyFivedaySales != null)
            return false;
        if (forecastTwentySixdaySales != null ? !forecastTwentySixdaySales.equals(that.forecastTwentySixdaySales) : that.forecastTwentySixdaySales != null)
            return false;
        if (forecastTwentySevenedaySales != null ? !forecastTwentySevenedaySales.equals(that.forecastTwentySevenedaySales) : that.forecastTwentySevenedaySales != null)
            return false;
        if (forecastTwentyEightdaySales != null ? !forecastTwentyEightdaySales.equals(that.forecastTwentyEightdaySales) : that.forecastTwentyEightdaySales != null)
            return false;
        if (forecastTwentyNinedaySales != null ? !forecastTwentyNinedaySales.equals(that.forecastTwentyNinedaySales) : that.forecastTwentyNinedaySales != null)
            return false;
        if (forecastThirtydaySales != null ? !forecastThirtydaySales.equals(that.forecastThirtydaySales) : that.forecastThirtydaySales != null)
            return false;
        if (kVariable != null ? !kVariable.equals(that.kVariable) : that.kVariable != null) return false;
        if (bVariable != null ? !bVariable.equals(that.bVariable) : that.bVariable != null) return false;
        if (rVariable != null ? !rVariable.equals(that.rVariable) : that.rVariable != null) return false;
        if (averageSales != null ? !averageSales.equals(that.averageSales) : that.averageSales != null) return false;
        if (details != null ? !details.equals(that.details) : that.details != null) return false;
        if (fitAVariable != null ? !fitAVariable.equals(that.fitAVariable) : that.fitAVariable != null) return false;
        if (fitBVariable != null ? !fitBVariable.equals(that.fitBVariable) : that.fitBVariable != null) return false;
        if (fitRVariable != null ? !fitRVariable.equals(that.fitRVariable) : that.fitRVariable != null) return false;
        if (fitForecastFormula != null ? !fitForecastFormula.equals(that.fitForecastFormula) : that.fitForecastFormula != null)
            return false;
        if (historySalesDetails != null ? !historySalesDetails.equals(that.historySalesDetails) : that.historySalesDetails != null)
            return false;
        if (gmtCreate != null ? !gmtCreate.equals(that.gmtCreate) : that.gmtCreate != null) return false;
        return gmtModified != null ? gmtModified.equals(that.gmtModified) : that.gmtModified == null;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_auto_sales
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (forecastFormula != null ? forecastFormula.hashCode() : 0);
        result = 31 * result + (bailunSku != null ? bailunSku.hashCode() : 0);
        result = 31 * result + (title != null ? title.hashCode() : 0);
        result = 31 * result + (warehouseCode != null ? warehouseCode.hashCode() : 0);
        result = 31 * result + (categoryId != null ? categoryId.hashCode() : 0);
        result = 31 * result + (onedaySales != null ? onedaySales.hashCode() : 0);
        result = 31 * result + (twodaySales != null ? twodaySales.hashCode() : 0);
        result = 31 * result + (threedaySales != null ? threedaySales.hashCode() : 0);
        result = 31 * result + (fourthdaySales != null ? fourthdaySales.hashCode() : 0);
        result = 31 * result + (fivedaySales != null ? fivedaySales.hashCode() : 0);
        result = 31 * result + (sixdaySales != null ? sixdaySales.hashCode() : 0);
        result = 31 * result + (sevendaySales != null ? sevendaySales.hashCode() : 0);
        result = 31 * result + (eightdaySales != null ? eightdaySales.hashCode() : 0);
        result = 31 * result + (ninedaySales != null ? ninedaySales.hashCode() : 0);
        result = 31 * result + (tendaySales != null ? tendaySales.hashCode() : 0);
        result = 31 * result + (elevendaySales != null ? elevendaySales.hashCode() : 0);
        result = 31 * result + (twelvedaySales != null ? twelvedaySales.hashCode() : 0);
        result = 31 * result + (thridteendaySales != null ? thridteendaySales.hashCode() : 0);
        result = 31 * result + (fourteendaySales != null ? fourteendaySales.hashCode() : 0);
        result = 31 * result + (fifteendaySales != null ? fifteendaySales.hashCode() : 0);
        result = 31 * result + (sixteendaySales != null ? sixteendaySales.hashCode() : 0);
        result = 31 * result + (seventeendaySales != null ? seventeendaySales.hashCode() : 0);
        result = 31 * result + (eighteendaySales != null ? eighteendaySales.hashCode() : 0);
        result = 31 * result + (nineteendaySales != null ? nineteendaySales.hashCode() : 0);
        result = 31 * result + (twentydaySales != null ? twentydaySales.hashCode() : 0);
        result = 31 * result + (twentyOnedaySales != null ? twentyOnedaySales.hashCode() : 0);
        result = 31 * result + (twentyTwodaySales != null ? twentyTwodaySales.hashCode() : 0);
        result = 31 * result + (twentyThreedaySales != null ? twentyThreedaySales.hashCode() : 0);
        result = 31 * result + (twentyFourthdaySales != null ? twentyFourthdaySales.hashCode() : 0);
        result = 31 * result + (twentyFivedaySales != null ? twentyFivedaySales.hashCode() : 0);
        result = 31 * result + (twentySixdaySales != null ? twentySixdaySales.hashCode() : 0);
        result = 31 * result + (twentySevenedaySales != null ? twentySevenedaySales.hashCode() : 0);
        result = 31 * result + (twentyEightdaySales != null ? twentyEightdaySales.hashCode() : 0);
        result = 31 * result + (twentyNinedaySales != null ? twentyNinedaySales.hashCode() : 0);
        result = 31 * result + (thirtydaySales != null ? thirtydaySales.hashCode() : 0);
        result = 31 * result + (warehouseName != null ? warehouseName.hashCode() : 0);
        result = 31 * result + (forecastTodaySales != null ? forecastTodaySales.hashCode() : 0);
        result = 31 * result + (forecastOnedaySales != null ? forecastOnedaySales.hashCode() : 0);
        result = 31 * result + (forecastTwodaySales != null ? forecastTwodaySales.hashCode() : 0);
        result = 31 * result + (forecastThreedaySales != null ? forecastThreedaySales.hashCode() : 0);
        result = 31 * result + (forecastFourthdaySales != null ? forecastFourthdaySales.hashCode() : 0);
        result = 31 * result + (forecastFivedaySales != null ? forecastFivedaySales.hashCode() : 0);
        result = 31 * result + (forecastSixdaySales != null ? forecastSixdaySales.hashCode() : 0);
        result = 31 * result + (forecastSevendaySales != null ? forecastSevendaySales.hashCode() : 0);
        result = 31 * result + (forecastEightdaySales != null ? forecastEightdaySales.hashCode() : 0);
        result = 31 * result + (forecastNinedaySales != null ? forecastNinedaySales.hashCode() : 0);
        result = 31 * result + (forecastTendaySales != null ? forecastTendaySales.hashCode() : 0);
        result = 31 * result + (forecastElevendaySales != null ? forecastElevendaySales.hashCode() : 0);
        result = 31 * result + (forecastTwelvedaySales != null ? forecastTwelvedaySales.hashCode() : 0);
        result = 31 * result + (forecastThridteendaySales != null ? forecastThridteendaySales.hashCode() : 0);
        result = 31 * result + (forecastFourteendaySales != null ? forecastFourteendaySales.hashCode() : 0);
        result = 31 * result + (forecastFifteendaySales != null ? forecastFifteendaySales.hashCode() : 0);
        result = 31 * result + (forecastSixteendaySales != null ? forecastSixteendaySales.hashCode() : 0);
        result = 31 * result + (forecastSeventeendaySales != null ? forecastSeventeendaySales.hashCode() : 0);
        result = 31 * result + (forecastEighteendaySales != null ? forecastEighteendaySales.hashCode() : 0);
        result = 31 * result + (forecastNineteendaySales != null ? forecastNineteendaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentydaySales != null ? forecastTwentydaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentyOnedaySales != null ? forecastTwentyOnedaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentyTwodaySales != null ? forecastTwentyTwodaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentyThreedaySales != null ? forecastTwentyThreedaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentyFourthdaySales != null ? forecastTwentyFourthdaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentyFivedaySales != null ? forecastTwentyFivedaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentySixdaySales != null ? forecastTwentySixdaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentySevenedaySales != null ? forecastTwentySevenedaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentyEightdaySales != null ? forecastTwentyEightdaySales.hashCode() : 0);
        result = 31 * result + (forecastTwentyNinedaySales != null ? forecastTwentyNinedaySales.hashCode() : 0);
        result = 31 * result + (forecastThirtydaySales != null ? forecastThirtydaySales.hashCode() : 0);
        result = 31 * result + (kVariable != null ? kVariable.hashCode() : 0);
        result = 31 * result + (bVariable != null ? bVariable.hashCode() : 0);
        result = 31 * result + (rVariable != null ? rVariable.hashCode() : 0);
        result = 31 * result + (averageSales != null ? averageSales.hashCode() : 0);
        result = 31 * result + (details != null ? details.hashCode() : 0);
        result = 31 * result + (fitAVariable != null ? fitAVariable.hashCode() : 0);
        result = 31 * result + (fitBVariable != null ? fitBVariable.hashCode() : 0);
        result = 31 * result + (fitRVariable != null ? fitRVariable.hashCode() : 0);
        result = 31 * result + (fitForecastFormula != null ? fitForecastFormula.hashCode() : 0);
        result = 31 * result + (historySalesDetails != null ? historySalesDetails.hashCode() : 0);
        result = 31 * result + (gmtCreate != null ? gmtCreate.hashCode() : 0);
        result = 31 * result + (gmtModified != null ? gmtModified.hashCode() : 0);
        return result;
    }
}
