package com.cf.imes.module.plan.dal.elasticsearch;

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.math.BigDecimal;

/**
 * 点明细 , 表示小板外围轮廓的几个转折点
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免生产单导入有问
public class PointDetail {

    @Schema(description = "点id")
    private String id;
    //    点的位置信息
    @Schema(description = "点的位置信息")
    private Double pointX;
    private Double pointY;
    @Schema(description = "曲线-凸度")
    private Double curve;
    @Schema(description = "边圆弧半径(直线段为0)")
    private Double radius;

    //    点的封边尺寸
    @Schema(description = "点的封边尺寸，封边尺寸，封边的厚度，长同边长")
    private BigDecimal sealSize;

    @Schema(description = "加工工艺")
    private String process;
}
