package com.bailuntec.domain.pojo;

import lombok.Data;

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

@Data
public class DcDailySalesVO {

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column dc_daily_sales.record_date
     *
     * @mbg.generated
     */
    private LocalDate recordDate;

    public DcDailySalesVO() {
    }

    public DcDailySalesVO(String bailunSku, Integer bailunCategoryId, Integer onedayTotalSales, Integer sevendayTotalSales, Integer fourteendayTotalSales, Integer thirtydayTotalSales, LocalDate recordDate) {
        this.bailunSku = bailunSku;
        this.bailunCategoryId = bailunCategoryId;
        this.onedayTotalSales = onedayTotalSales;
        this.sevendayTotalSales = sevendayTotalSales;
        this.fourteendayTotalSales = fourteendayTotalSales;
        this.thirtydayTotalSales = thirtydayTotalSales;
        this.recordDate = recordDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_daily_sales
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", bailunSku=").append(bailunSku);
        sb.append(", bailunCategoryId=").append(bailunCategoryId);
        sb.append(", onedayTotalSales=").append(onedayTotalSales);
        sb.append(", sevendayTotalSales=").append(sevendayTotalSales);
        sb.append(", fourteendayTotalSales=").append(fourteendayTotalSales);
        sb.append(", thirtydayTotalSales=").append(thirtydayTotalSales);
        sb.append(", recordDate=").append(recordDate);
        sb.append("]");
        return sb.toString();
    }

}