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

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Beal
 */
@Data
public class MachineVO {

    @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开料机 2钻孔机")
    private Integer machineType;

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

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