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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.JSONObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@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 = "品牌ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("品牌ID")
    private Long brandId;


    @Schema(description = "品牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    private String brand;


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


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


}