package com.ylx.point.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("积分活动统计信息vo")
public class PointActivityStatVo {

    @ApiModelProperty("活动主键id")
    private Long id;

    @ApiModelProperty(name = "活动名称")
    private String name;

    @ApiModelProperty(name = "活动类型")
    private String activityType;

    @ApiModelProperty(name = "覆盖城市")
    private String cityCode;

    @ApiModelProperty(name = "是否长期有效 (1:是, 0:否)")
    private String isPermanent;

    @ApiModelProperty(name = "活动开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    @ApiModelProperty(name = "活动结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;

    @ApiModelProperty(name = "数据总览")
    private PointActivityOverviewVO dataOverview;

    @ApiModelProperty(name = "数据详情")
    private List<PointActivityTaskDetailVO> taskDetailList;

}
