package com.tashow.cloud.productapi.api.product.vo.prodemergencyresponse;

import com.baomidou.mybatisplus.annotation.TableField;
import com.tashow.cloud.productapi.general.StringListTypeHandler;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

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

@Schema(description = "管理后台 - 商品紧急响应服务设置新增/修改 Request VO")
@Data
public class ProdEmergencyResponseSaveReqVO {

    @Schema(description = "紧急响应服务配置的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "7448")
    private Long id;

    @Schema(description = "关联的商品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29152")
    @NotNull(message = "关联的商品ID不能为空")
    private Long prodId;

    @Schema(description = "可响应时间段")
    private List<String> responseTimeSlots;

    @Schema(description = "黑名自定义日期")
    private List<String>blacklistedDates;

    @Schema(description = "黑名单指定日期")
    private List<String>  blackAppointDates;

    @Schema(description = "法定节假日是否开启0:关闭1开启")
    private Integer blackHappy;

    @Schema(description = "固定休息日周末是否开启0关闭1开启")
    private Integer blackWeekend;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;

}