package com.zksy.visualization.domain.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 收款统计
 * @date 2024/12/16 10:08:32
 */
@Data
@ApiModel(description = "停车收款统计响应")
public class CollectionStatisticsResponse {
    @ApiModelProperty(value = "收款金额明细")
    private ConsumeSurvey consumeSurvey;

    @ApiModelProperty(value = "应收金额明细")
    private List<FeeAmountItem> feeTrend;

    @Data
    @ApiModel(description = "消费调查详情")
    public static class ConsumeSurvey {
        @ApiModelProperty(value = "应收金额，单位：元")
        private String consumeMoney;

        @ApiModelProperty(value = "优惠金额，单位：元")
        private String favorableAmount;

        @ApiModelProperty(value = "免费金额，单位：元")
        private String freeMoney;

        @ApiModelProperty(value = "应收金额，单位：元")
        private String feeAmount;

        @ApiModelProperty(value = "退款金额，单位：元")
        private String backMoney;
    }

    @Data
    @ApiModel(description = "费用趋势项")
    public static class FeeAmountItem {
        @ApiModelProperty(value = "实收金额，单位：元")
        private String feeTotal;

        @ApiModelProperty(value = "时段，示例格式：\"00:00\"")
        private String dates;
    }
}

