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 = "Point")
@XmlAccessorType(XmlAccessType.FIELD)
// 孤岛点信息
public class PointXmlVO implements Serializable {

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

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

    // 点Z坐标 （在outline中不用）
    @XmlAttribute(name = "pointZ")
    private String pointZ;

    // 圆弧凹凸度——直线段为0
    @XmlAttribute(name = "curvature")
    private String curvature;

    // 边圆弧半径——直线段为0
    @XmlAttribute(name = "radius")
    private String radius;

    // 加工工艺
    @XmlAttribute(name = "process")
    private String process;

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

    // 封边条物料名称
    @XmlAttribute(name = "edgingName")
    private String edgingName;

    // 封边条颜色
    @XmlAttribute(name = "edgingColor")
    private String edgingColor;

    // 封边条材质
    @XmlAttribute(name = "edgingMaterial")
    private String edgingMaterial;

    // 封边条厚度
    @XmlAttribute(name = "edgingThickness")
    private String edgingThickness;

    // 封边条宽度
    @XmlAttribute(name = "edgingWidth")
    private String edgingWidth;

    // 封边条长度
    @XmlAttribute(name = "edgingLength")
    private String edgingLength;

    // 封边条余量
    @XmlAttribute(name = "edgingExtend")
    private String edgingExtend;

    // 预铣/精修量
    @XmlAttribute(name = "preMilling")
    private String preMilling;

    // 延展/收缩量，预留边
    @XmlAttribute(name = "scale")
    private String scale;

    // 边备注信息
    @XmlAttribute(name = "remark")
    private String remark;

    // 单边封边尺寸
    @XmlAttribute(name = "count")
    private String count;

    // 封边尺寸单位
    @XmlAttribute(name = "countUnit")
    private String countUnit;
}
