package cn.iocoder.yudao.module.system.controller.admin.biz.vo.excel;

import cn.iocoder.yudao.module.system.convert.excel.LocalDateConvert;
import cn.iocoder.yudao.module.system.convert.excel.LocalDateTimeConvert;
import cn.iocoder.yudao.module.system.convert.excel.LocalTimeConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 月度活动 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MonthlyActivityExcelVO {

    @ExcelProperty(value = "活动日期",converter = LocalDateConvert.class)
    private LocalDate activityDate;

    @ExcelProperty(value = "活动开始时间", converter = LocalTimeConvert.class)
    private LocalTime activityStartTime;

    @ExcelProperty(value = "活动结束时间", converter = LocalTimeConvert.class)
    private LocalTime activityEndTime;

    @ExcelProperty("活动人数")
    private Integer number;

    @ExcelProperty(value = "报名开始时间", converter = LocalDateTimeConvert.class)
    private LocalDateTime registrationStartTime;

    @ExcelProperty(value = "报名结束时间", converter = LocalDateTimeConvert.class)
    private LocalDateTime registrationEndTime;

    @ExcelProperty("活动标题")
    private String activityTitle;

    @ExcelProperty("活动场景")
    private String activityScene;

    @ExcelProperty("活动金额")
    private BigDecimal amount;

    @ExcelProperty("活动主管姓名")
    private String supervisorName;

}