package cn.iocoder.yudao.module.pms.controller.admin.ly.vo;

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

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 连油设备信息新增/修改 Request VO")
@Data
public class LyDeviceSaveReqVO {

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

    @Schema(description = "设备id", example = "19197")
//    @NotEmpty(message = "设备信息不能为空")
    private Long deviceId;

    @Schema(description = "部门id", example = "8641")
    private Long deptId;

    @Schema(description = "设备编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备编码不能为空")
    private String deviceCode;

    @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "设备名称不能为空")
    private String deviceName;

    @Schema(description = "其他修改后的名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "其他修改后的名称不能为空")
    private String otherName;

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

}