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

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.time.LocalDateTime;

@Schema(description = "管理后台 - 商品紧急响应服务设置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProdEmergencyResponseRespVO {

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

    @Schema(description = "关联的商品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29152")
    @ExcelProperty("关联的商品ID")
    private Long prodId;

    @Schema(description = "可响应时间段（JSON格式存储）")
    @ExcelProperty("可响应时间段（JSON格式存储）")
    private String responseTimeSlots;

    @Schema(description = "黑名自定义日期（JSON格式存储）")
    @ExcelProperty("黑名自定义日期（JSON格式存储）")
    private String blacklistedDates;

    @Schema(description = "黑名单指定日期（JSON格式存储）")
    @ExcelProperty("黑名单指定日期（JSON格式存储）")
    private String blackAppointDates;

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

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

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

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

}