package com.cf.imes.module.executor.controller.admin.plan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author there
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PlateInfoVO {
    @Schema(description = "材质：颗粒板、欧松板、多层板、生态板、禾香板、密度板、实木、铝蜂窝板、铝塑板", requiredMode = Schema.RequiredMode.REQUIRED)
    private String material;

    @Schema(description = "宽度", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal width;

    @Schema(description = "高度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "高度不能为空")
    private BigDecimal height;

    @Schema(description = "厚度", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal thickness;

    @Schema(description = "面积")
    private BigDecimal area;

    @Schema(description = "颜色")
    private String color;

    @Schema(description = "数量")
    private Integer count;

}
