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 InspectionDetectionEquUpdateReq { /** * 巡检模版编号 */ @NotBlank(message = "巡检模版编号不能为空") @ApiModelProperty(name = "templateNo", value = "巡检模版编号", position = 20) private String templateNo; /** * 设备编号 */ @NotEmpty(message = "设备编号列表不能为空") @ApiModelProperty(name = "equNoList", value = "设备编号列表", position = 40) private List<String> equNoList; /** * 检测项编号 */ @ApiModelProperty(name = "itemId", value = "检测项编号", required = true, position = 60, hidden = true) private List<Integer> itemIdList; }