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

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

/**
* 新增用户巡检设备
*
* @author : xiongk
* @since : 2020-12-02 18:05
*/
@Data
public class InspectionUserEquSaveReq {

      /**
      * 用户编号
      */
      @ApiModelProperty(name = "userId", value = "用户编号", position = 20)
      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 = "pumpNo", value = "泵站编号", required = true, position = 50)
      @NotBlank(message = "泵站编号不能为空")
      private String pumpNo;

      /**
      * 设备编号
      */
      @ApiModelProperty(name = "equNo", value = "设备编号", required = true, position = 60)
      @NotBlank(message = "设备编号不能为空")
      private String equNo;

      /**
      * 设备名称
      */
      @ApiModelProperty(name = "equName", value = "设备名称", required = true, position = 70)
      @NotBlank(message = "设备名称不能为空")
      private String equName;

      /**
      * 巡检结果(0正常/1异常)
      */
      @ApiModelProperty(name = "result", value = "巡检结果(0正常/1异常)", position = 80)
      private String result;

      /**
      * 结果说明
      */
      @ApiModelProperty(name = "resultNote", value = "结果说明", position = 90)
      private String resultNote;

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

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

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

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


}