package com.cf.imes.module.executor.util.deviseData.structure;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 板的造型生成刀路数据
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免生产单导入有问
@JsonInclude(JsonInclude.Include.NON_NULL)
public class IOriginModelingData {

    @Schema(description = "刀半径")
    private Double knifeRadius;

    @Schema(description = "厚度")
    private Double thickness; // xml中没有
    @Schema(description = "方向")
    private Integer dir;

    // xml中修改
    @Schema(description = "造型/凹槽(边缘)的刀路方向——内圈顺时针(最)外圈逆时针、内圈顺时针(最)外圈顺时针、内圈逆时针(最)外圈顺时针、内圈逆时针(最)外圈逆时针")
    private String direction;

    @Schema(description = "轮廓，造型最外围的轮廓数据")
    private List<IContourData> outline;
    @Schema(description = "孤岛轮廓")
    private List<List<IContourData>> holes;


    @Schema(description = "槽加长")
    private Double addLen;
    @Schema(description = "槽加宽")
    private Double addWidth;
    @Schema(description = "槽加深")
    private Double addDepth;

// ============ 启用 api =============
//    @Schema(description = "造型点列表")
//    private List<PointList> pointList;

}
