package cn.iocoder.yudao.module.member.controller.admin.activity.vo;

import cn.iocoder.yudao.module.member.controller.admin.activityrestaurant.vo.ActivityRestaurantRespVO;
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.LocalDateTime;

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

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29158")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "活动名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("活动名称")
    private String activityName;

    @Schema(description = "活动开始时间")
    @ExcelProperty("活动开始时间")
    private LocalDateTime startTime;

    @Schema(description = "活动结束时间")
    @ExcelProperty("活动结束时间")
    private LocalDateTime endTime;

    @Schema(description = "描述", example = "你猜")
    @ExcelProperty("描述")
    private String description;

    @Schema(description = "封面图")
    @ExcelProperty("封面图")
    private String img;

    @Schema(description = "地点")
    @ExcelProperty("地点")
    private String location;

    @Schema(description = "主办方")
    @ExcelProperty("主办方")
    private String sponsor;

    @Schema(description = "可抽奖次数")
    @ExcelProperty("可抽奖次数")
    private Integer lotteryNum;

    @Schema(description = "用餐状态，0-禁用，1-启用 ", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("用餐状态，0-禁用，1-启用 ")
    private String reservationStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "报名人数")
    private Integer applyNum;

    @Schema(description = "中奖人数")
    private Integer awardsNum;

    @Schema(description = "预定人数")
    private Integer reserveNum;

    @Schema(description = "收入")
    private BigDecimal income;

    @Schema(description = "是否报名")
    private Boolean isApply;

    private  ActivityRestaurantRespVO  activityRestaurantSaveDto;
}