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

import cn.iocoder.yudao.module.member.controller.admin.activityawards.vo.ActivityAwardsListDTO;
import cn.iocoder.yudao.module.member.controller.admin.activityrestaurant.vo.ActivityRestaurantSaveDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 活动新增/修改 Request VO")
@Data
public class ActivitySaveReqVO {

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

    @Schema(description = "活动名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "活动名称不能为空")
    private String activityName;

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

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

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

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

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

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

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

    @Schema(description = "用餐状态，0-禁用，1-启用 ", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "用餐状态，0-禁用，1-启用 不能为空")
    private String reservationStatus;

    @Schema(description = "奖项列表")
    private List<ActivityAwardsListDTO>  activityAwardsList;

    @Schema(description = "用餐设置")
    private ActivityRestaurantSaveDto activityRestaurantSaveDto;
}