package com.cf.imes.module.system.api.machine.dto;

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

import java.time.LocalDateTime;

/**
 * @author Beal
 *
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MachineDTO {

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

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

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

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

    @Schema(description = "机台配置")
    private String setting;

    @Schema(description = "标签配置")
    private String label;
}
