package com.ruoyi.logistics.domain.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 近七日每日订单统计DTO
 *
 * @author RuiJing
 * @date 2026-02-27
 */
public class DailyOrderStatisticsDto {

    /**
     * 统计日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date statisticsDate;

    /**
     * 京东订单数量（非时效件）
     */
    private Long jdOrderCount;

    /**
     * 顺丰订单数量（时效件）
     */
    private Long sfOrderCount;

    /**
     * 订单总数量
     */
    private Long totalOrderCount;

    public DailyOrderStatisticsDto() {
    }

    public DailyOrderStatisticsDto(Date statisticsDate, Long jdOrderCount, Long sfOrderCount, Long totalOrderCount) {
        this.statisticsDate = statisticsDate;
        this.jdOrderCount = jdOrderCount;
        this.sfOrderCount = sfOrderCount;
        this.totalOrderCount = totalOrderCount;
    }

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Long getJdOrderCount() {
        return jdOrderCount;
    }

    public void setJdOrderCount(Long jdOrderCount) {
        this.jdOrderCount = jdOrderCount;
    }

    public Long getSfOrderCount() {
        return sfOrderCount;
    }

    public void setSfOrderCount(Long sfOrderCount) {
        this.sfOrderCount = sfOrderCount;
    }

    public Long getTotalOrderCount() {
        return totalOrderCount;
    }

    public void setTotalOrderCount(Long totalOrderCount) {
        this.totalOrderCount = totalOrderCount;
    }
}