package org.dromara.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.excel.annotation.Excel;

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

/**
 * 系统数据统计对象 aws_system_statistics
 *
 * @author zcc
 */
@Schema(description = "系统数据统计对象")
@Data
@TableName("aws_system_statistics")
public class SystemStatistics {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "统计日期")
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    @Schema(description = "登录用户数")
    @Excel(name = "登录用户数")
    private Integer loginMemberCount;

    @Schema(description = "注册用户数")
    @Excel(name = "注册用户数")
    private Integer registerMemberCount;

    @Schema(description = "加购用户数")
    @Excel(name = "加购用户数")
    private Integer addCartMemberCount;

    @Schema(description = "下单用户数")
    @Excel(name = "下单用户数")
    private Integer createOrderMemberCount;

    @Schema(description = "成交用户数")
    @Excel(name = "成交用户数")
    private Integer dealMemberCount;

    @Schema(description = "下单数")
    @Excel(name = "下单数")
    private Integer orderCount;

    @Schema(description = "成交数")
    @Excel(name = "成交数")
    private Integer dealCount;

    @Schema(description = "成交金额")
    @Excel(name = "成交金额")
    private BigDecimal dealAmount;

    @Schema(description = "售后数")
    @Excel(name = "售后数")
    private Integer aftersaleCount;

    @Schema(description = "售后金额")
    @Excel(name = "售后金额")
    private BigDecimal aftersaleAmount;
}
