package com.newfiber.modules.inspection.request; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import lombok.Data; @Data @ApiModel public class EquDetectionItemSaveReq { @NotBlank(message = "请填写设备编号") @ApiModelProperty(value = "设备编号", required = true) private String equNo; @NotNull @ApiModelProperty(value = "检测项名称", required = true) private String detectionName; @ApiModelProperty(value = "备注") private String remark; }