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

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.util.List;

@Schema(description = "管理后台 - 特殊时段附加费用规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProdAdditionalFeePeriodsRespVO {

    @Schema(description = "特殊时段规则的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "24746")
    @ExcelProperty("特殊时段规则的唯一标识符")
    private Long id;

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

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "特殊时段设置（JSON格式存储）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("特殊时段设置（JSON格式存储）")
    private List<String> specialTimeSlots;

    @Schema(description = "收费方式0:'固定金额',1:'基准价上浮'", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("收费方式0:'固定金额',1:'基准价上浮'")
    private Integer chargeMode;

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

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


}