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

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 ProdEmergencyResponseIntervalsRespVO {

    @Schema(description = "响应时间区间的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "29650")
    @ExcelProperty("响应时间区间的唯一标识符")
    private Long id;

    @Schema(description = "关联的紧急响应服务配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5737")
    @ExcelProperty("关联的紧急响应服务配置ID")
    private Long configId;

    @Schema(description = "响应模式名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("响应模式名称")
    private String name;

    @Schema(description = "响应时间（小时）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("响应时间（小时）")
    private BigDecimal responseHours;

    @Schema(description = "收费模式0：固定收费 1：浮动收费", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("收费模式0：固定收费 1：浮动收费")
    private Integer chargeMode;

    @Schema(description = "浮动百分比")
    @ExcelProperty("浮动百分比")
    private BigDecimal floatingPercentage;

    @Schema(description = "价格或上浮百分比", example = "17810")
    @ExcelProperty("价格或上浮百分比")
    private BigDecimal price;

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

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

}