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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@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 Boolean isEnabled;

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

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

}