package org.jeecg.modules.system.app.vo.statistics;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

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

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "首页统计页面图表参数")
public class FindByStatisticsChartVO  {

    @Schema(description = "日期 列如20250813")
    private Integer dateDaily;
    @Schema(description = "日期")
    @JsonFormat(timezone = "GMT+8",pattern = "MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate dateDailyDate;

    @Schema(description = "机构编码")
    private String org_code;
    @Schema(description = "商家名称")
    private String deptName;
    /**销售金额*/
    @Schema(description = "销售金额")
    private BigDecimal saleMoney =BigDecimal.ZERO;
    /**有效订单数*/
    @Schema(description = "有效订单数")
    private Integer effectiveOrderNum=0;
    /**预计收入*/
    @Schema(description = "预计收入")
    private BigDecimal expectIncomeMoney =BigDecimal.ZERO;
    /**消费人数*/
    @Schema(description = "消费人数")
    private Integer consumeNumber=0;
    /**新增用户数*/
    @Schema(description = "新增用户数")
    private Integer addNumber=0;
}
