package com.cf.imes.module.manage.controller.admin.plate.vo.plate;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 板材信息表 plate_{N} Response VO")
@Data
@ExcelIgnoreUnannotated
public class PlateRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelIgnore
    private Long id;

    @Schema(description = "客户的商品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("商品编号")
    private String goodsId;

    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("商品名称")
    private String goodsName;

    @Schema(description = "材质：颗粒板、欧松板、多层板、生态板、禾香板、密度板、实木、铝蜂窝板、铝塑板", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("材质")
    private String material;

    @Schema(description = "颜色", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("颜色")
    private String color;

    @Schema(description = "纹路", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("纹路")
    private String texture;

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

    @Schema(description = "高度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("高度")
    private Double height;

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

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

    @Schema(description = "品牌", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("品牌")
    private String brand;

    @Schema(description = "规格", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("规格")
    private String spec;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelIgnore
    private LocalDateTime createTime;

    private Long organId;
}