package com.cf.imes.module.executor.util.fileConversion.admin.files.xml.VO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "correlation")
@XmlAccessorType(XmlAccessType.FIELD)
public class CorrelationXmlVO implements Serializable {

    // 关联五金/关联组件物料编码
    @XmlAttribute(name = "itemCode")
    private String itemCode;

    // 类型
    @XmlAttribute(name = "type")
    private String type;

    // 厂家
    @XmlAttribute(name = "manufacturer")
    private String manufacturer;

    // 品牌
    @XmlAttribute(name = "brand")
    private String brand;

    // 名称
    @XmlAttribute(name = "name")
    private String name;

    // 材质
    @XmlAttribute(name = "material")
    private String material;

    // 颜色
    @XmlAttribute(name = "color")
    private String color;

    // 规格/类型
    @XmlAttribute(name = "specs")
    private String specs;

    // 长
    @XmlAttribute(name = "length")
    private String length;

    // 宽
    @XmlAttribute(name = "width")
    private String width;

    // 高
    @XmlAttribute(name = "height")
    private String height;

    // 长度单位
    @XmlAttribute(name = "unit")
    private String unit;

    // 数量
    @XmlAttribute(name = "count")
    private String count;

    // 数量单位
    @XmlAttribute(name = "unitCount")
    private String unitCount;
}
