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

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;

@Schema(description = "管理后台 - 体重区间价格 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProdWeightRangePricesRespVO {

    @Schema(description = "体重区间价格的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "26157")
    @ExcelProperty("体重区间价格的唯一标识符")
    private Long id;

    @Schema(description = "关联的体重配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6754")
    @ExcelProperty("关联的体重配置ID")
    private Long prodId;

    @Schema(description = "体重区间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("体重区间")
    private String weightRange;

    @Schema(description = "价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "11575")
    @ExcelProperty("价格")
    private BigDecimal price;

    @Schema(description = "是否启用该规则0否1是", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否启用该规则0否1是")
    private Integer isEnabled;


}