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

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

import jakarta.xml.bind.annotation.*;
import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "Edging")
@XmlAccessorType(XmlAccessType.FIELD)
// 封边条信息
public class EdgingXmlVO implements Serializable {

    // 封边条物料编码
    @XmlAttribute(name = "itemCode")
    private String itemCode;

    // 厂家
    @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 = "thickness")
    private String thickness;

    // 长度单位——默认m米
    @XmlAttribute(name = "unit")
    private String unit;

    // 仓库
    @XmlAttribute(name = "warehouse")
    private String warehouse;

    // 货架
    @XmlAttribute(name = "shelf")
    private String shelf;

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

    // 数量单位(默认m米)
    @XmlAttribute(name = "unitCount")
    private String unitCount;

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

    // 房间号
    @XmlAttribute(name = "roomCode")
    private String roomCode;

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

    // 柜体号
    @XmlAttribute(name = "boxCode")
    private String boxCode;

    // 加工组名称
    @XmlAttribute(name = "groupName")
    private String groupName;

    // 加工组号
    @XmlAttribute(name = "groupCode")
    private String groupCode;

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

    // 模块号
    @XmlAttribute(name = "moduleCode")
    private String moduleCode;

    // 备注
    @XmlElement(name = "Remarks")
    private RemarkXmlVOS remarkXmlVOS;
}
