package com.bonus.sgzb.base.domain;

import com.bonus.sgzb.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author：liang.chao
 * @Date：2024/7/24 - 13:11
 */

@Data
public class DataReceiveInfo {
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "接收状态（0 未完成  1已完成）")
    @Excel(name = "接收状态", readConverterExp = "0=未完成,1=已完成")
    private Integer receiveStatus;

    @ApiModelProperty(value = "推送数量")
    @Excel(name = "推送数量")
    private Integer pushNum;

    @ApiModelProperty(value = "接收数量")
    @Excel(name = "接收数量")
    private Integer receiveNum;

    @ApiModelProperty(value = "接收日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "推送日期")
    private Date receiveDate;

    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;

    private List<DataReceiveDetail> dataReceiveDetailList;
}
