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 = "offsetLine")
@XmlAccessorType(XmlAccessType.FIELD)
// 偏移刀路信息
public class OffsetLineXmlVO implements Serializable {

    // 偏移值——正值外偏/右偏、负值内偏/左偏
    @XmlAttribute(name = "offset")
    private String offset;

    // 深度
    @XmlAttribute(name = "depth")
    private String depth;

    // 刀名称
    @XmlAttribute(name = "toolName")
    private String toolName;

    // 刀号
    @XmlAttribute(name = "toolNo")
    private String toolNo;

    // 刀直径
    @XmlAttribute(name = "toolDiameter")
    private String toolDiameter;

    // 角度——二维刀路V型刀提角/清角用
    @XmlAttribute(name = "tangentAngle")
    private String tangentAngle;
}
