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 = "Grooves")
@XmlAccessorType(XmlAccessType.FIELD)
// 凹槽列表
public class GrooveXmlVOS 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 = "countRectangle")
    private String countRectangle;

    // 挖穿造型/槽数量
    @XmlAttribute(name = "countThrough")
    private String countThrough;

    // 二维造型刀路数量
    @XmlAttribute(name = "count2V")
    private String count2V;

    // 三维造型刀路(浮雕)数量
    @XmlAttribute(name = "count3D")
    private String count3D;

    // 凹槽信息
    @XmlElement(name = "Groove")
    private List<GrooveXmlVO> grooveXmlVOList;
}
