Newer
Older
huludao / src / main / java / com / newfiber / modules / inspection / request / InspectionUserItemSaveReq.java
package com.newfiber.modules.inspection.request;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
* 新增用户巡检检测项
*
* @author : xiongk
* @since : 2020-11-06 10:00
*/
@Data
public class InspectionUserItemSaveReq {

      /**
      * 用户编号
      */
      @ApiModelProperty(name = "userId", value = "用户编号", required = true, position = 20)
      @NotNull(message = "用户编号不能为空")
      private Long userId;

      /**
      * 用户姓名
      */
      @ApiModelProperty(name = "fullname", value = "用户姓名", required = true, position = 30)
      @NotBlank(message = "用户姓名不能为空")
      private String fullname;

      /**
      * 巡检编号
      */
      @ApiModelProperty(name = "inspectionNo", value = "巡检编号", required = true, position = 40)
      @NotBlank(message = "巡检编号不能为空")
      private String inspectionNo;

      /**
      * 检测项编号
      */
      @ApiModelProperty(name = "itemId", value = "检测项编号", required = true, position = 50)
      @NotNull(message = "检测项编号不能为空")
      private Integer itemId;

      /**
      * 检测项名称
      */
      @ApiModelProperty(name = "itemName", value = "检测项名称", required = true, position = 60)
      @NotBlank(message = "检测项名称不能为空")
      private String itemName;

      /**
      * 巡检结果
      */
      @ApiModelProperty(name = "result", value = "巡检结果", position = 70)
      private String result;

      /**
      * 精度
      */
      @ApiModelProperty(name = "pointx", value = "精度", position = 80)
      private String pointx;

      /**
      * 纬度
      */
      @ApiModelProperty(name = "pointy", value = "纬度", position = 90)
      private String pointy;

      /**
      * 巡检IP地址
      */
      @ApiModelProperty(name = "ip", value = "巡检IP地址", position = 100)
      private String ip;

      /**
      * 创建时间
      */
      @ApiModelProperty(name = "createDatetime", value = "创建时间", required = true, position = 110)
      @NotBlank(message = "创建时间不能为空")
      private String createDatetime;


}