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 = "Holes")
@XmlAccessorType(XmlAccessType.FIELD)
// 孔列表
public class HoleXmlVOS implements Serializable {

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

    // 正面垂直孔数量
    @XmlAttribute(name = "countFaceA")
    private String countFaceA;

    // 反面垂直孔数量
    @XmlAttribute(name = "countFaceB")
    private String countFaceB;

    // 水平侧孔数量
    @XmlAttribute(name = "countSide")
    private String countSide;

    // 左侧孔数量
    @XmlAttribute(name = "countSideL")
    private String countSideL;

    // 右侧孔数量
    @XmlAttribute(name = "countSideR")
    private String countSideR;

    // 上侧孔数量
    @XmlAttribute(name = "countSideU")
    private String countSideU;

    // 下侧孔数量
    @XmlAttribute(name = "countSideD")
    private String countSideD;

    // 斜面孔数量
    @XmlAttribute(name = "countBevelled")
    private String countBevelled;

    // 偏心轮/锁定孔数
    @XmlAttribute(name = "countLocking")
    private String countLocking;

    // 预埋件孔数量
    @XmlAttribute(name = "countBuildIn")
    private String countBuildIn;

    // 铰链孔数量
    @XmlAttribute(name = "countHinge")
    private String countHinge;

    // 挖穿孔数量（通孔/对成孔）
    @XmlAttribute(name = "countThrough")
    private String countThrough;

    @XmlElement(name = "Hole")
    private List<HoleXmlVO> holeXmlVOList;
}
