package com.cf.imes.module.executor.controller.admin.manage.parts.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 配件导入模板
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免用户导入有问题
public class PartsImportExcelVO {

    @ExcelProperty("物料编号")
    private String goodsId;

    @ExcelProperty("分类")
    private String category;

    @ExcelProperty("复合")
    private String isComposite;

    @ExcelProperty("子类")
    private String type;

    @ExcelProperty("物料名称")
    private String name;

    @ExcelProperty("型号")
    private String model;

    @ExcelProperty("规格")
    private String spec;

    @ExcelProperty("材质")
    private String material;

    @ExcelProperty("颜色")
    private String color;

    @ExcelProperty("品牌")
    private String brand;

    @ExcelProperty("厂家")
    private String factor;

    @ExcelProperty("长度")// float(8,3)
    private String length;

    @ExcelProperty("宽度")// float(8,3)
    private String width;

    @ExcelProperty("厚度")
    private String thickness;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("价格")// float(8,3)
    private String price;

    @ExcelProperty("单位")
    private String unit;

    @ExcelProperty("上传结果")
    private String result;

}
