package com.cf.imes.module.system.controller.admin.machine.vo;

import com.alibaba.fastjson.JSONObject;
import com.cf.imes.module.system.dal.dataobject.machine.CuttingSettingDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 机台 Response VO")
@Data
@ExcelIgnoreUnannotated
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CuttingRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "14092")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "1机台设备 2CNC设备", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("1机台设备 2CNC设备")
    private Integer machineType;

    @Schema(description = "标签id")
    private Long labelId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

   /* @Schema(description = "机台配置")
    private CuttingSettingDO machineSettingDO;*/

    @Schema(description = "机台配置")
    private JSONObject machineSettingDO;

    /**
     * 机台权限相关配置
     */
    @Schema(description ="加工模式 开料机加工模式 默认true，显示开料机工作模式(是否排钻/造型，sc)配置")
    private Boolean showPriorFacing;
    @Schema(description = "双工位")
    private Boolean showDualWorkstation;
    @Schema(description = "自动贴标")
    private Boolean showAutoNotePrinter;


}