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

import com.tashow.cloud.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 紧急响应时间区间设置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProdEmergencyResponseIntervalsPageReqVO extends PageParam {

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

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

    @Schema(description = "响应时间（小时）")
    private BigDecimal responseHours;

    @Schema(description = "收费模式0：固定收费 1：浮动收费")
    private Integer chargeMode;

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

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

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

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

}