package cn.iocoder.yudao.module.mes.controller.admin.criticalcomponent.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 设备关键件新增/修改 Request VO")
@Data
public class CriticalComponentSaveReqVO {

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

    @Schema(description = "编码（唯一标识）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "编码（唯一标识）不能为空")
    private String code;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "描述", example = "你说的对")
    private String description;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}