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.*;
import java.io.Serializable;
import java.util.List;

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

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

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

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

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

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

    // 成倍拆单数量
    @XmlAttribute(name = "multipleNumber")
    private String multipleNumber;

    // 成倍拆单序号
    @XmlAttribute(name = "multipleNo")
    private String multipleNo;

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


    // 基点X坐标
    @XmlAttribute(name = "basePointX")
    private String basePointX;

    // 基点Y坐标
    @XmlAttribute(name = "basePointY")
    private String basePointY;

    // 基点Z坐标
    @XmlAttribute(name = "basePointZ")
    private String basePointZ;

    // 绕X轴旋转角度
    @XmlAttribute(name = "axisXrotate")
    private String axisXrotate;

    // 绕Y轴旋转角度
    @XmlAttribute(name = "axisYrotate")
    private String axisYrotate;

    // 绕Z轴旋转角度
    @XmlAttribute(name = "axisZrotate")
    private String axisZrotate;

    @XmlElement(name = "Box")
    private List<BoxXmlVO> boxXmlVOList;
}
