package com.haha.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("t_stat_product_daily")
public class StatProductDaily implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private LocalDate statDate;

    private Long productId;

    private String productCode;

    private String productName;

    private String category;

    private Long shopId;

    private String deviceId;

    private Integer quantity;

    private Integer orderCount;

    private BigDecimal salesAmount;

    private BigDecimal costAmount;

    private BigDecimal profitAmount;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
