package com.cf.imes.module.executor.controller.admin.plan.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Beal
 */
@NoArgsConstructor
@Data
public class ScrapBoard {

    @Schema(description ="源排单号")
    private String planCode;
    @Schema(description ="使用排单号")
    private String usedPlanCode;
    @Schema(description ="ID")
    private Long id;
    @Schema(description ="排单ID")
    private Long planId;
    @Schema(description ="源排单ID")
    private Long oldPlanId;
    @Schema(description ="未使用 = 0, 已使用 = 1")
    private Integer status;
    @Schema(description ="正面 = 0, 正面右转 = 1, 正面后转 = 2, 正面左转 = 3, 反面 = 4, 反面右转 = 5, 反面后转 = 6, 反面左转 = 7")
    private Integer placedStyle;
    @Schema(description ="仓库")
    private String storeHouse;
    @Schema(description ="Count")
    private Integer count;
    @Schema(description ="备注")
    private String remark;
    @Schema(description ="OutLineJson")
    private String outLineJson;
    @Schema(description ="组织id")
    private Integer organId;
    @Schema(description ="原始多段线")
    private List<ScrapPt> basePolyline;
    @Schema(description ="放置的多段线")
    private List<ScrapPt> placedPolyline;
    private Boolean isUsed;
}
