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_shop_daily")
public class StatShopDaily implements Serializable {
    private static final long serialVersionUID = 1L;

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

    private LocalDate statDate;

    private Long shopId;

    private String shopName;

    private String province;

    private String city;

    private String district;

    private Integer deviceCount;

    private Integer orderCount;

    private Integer userCount;

    private Integer newUserCount;

    private Integer quantity;

    private BigDecimal salesAmount;

    private BigDecimal costAmount;

    private BigDecimal profitAmount;

    private BigDecimal profitRate;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
