package com.newfiber.modules.inspection.request; import io.swagger.annotations.ApiModelProperty; import java.util.List; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotEmpty; import lombok.Data; /** * 新增巡检模板检测项 * * @author : xiongk * @since : 2020-11-06 09:33 */ @Data public class InspectionDetectionEquSaveReq { /** * 巡检模版编号 */ @ApiModelProperty(name = "templateNo", value = "巡检模版编号", required = true, position = 20) @NotBlank(message = "巡检模版编号不能为空") private String templateNo; /** * 设备编号 */ @ApiModelProperty(name = "equNo", value = "设备编号", required = true, position = 40) @NotBlank(message = "设备编号不能为空") private String equNo; /** * 检测项编号 */ @ApiModelProperty(name = "itemId", value = "检测项编号", required = true, position = 60) @NotEmpty(message = "检测项编号不能为空") private List<Integer> itemIdList; }