123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- package com.sooka.sponest.data.digitalwater.domain;
- import com.ruoyi.common.core.annotation.Excel;
- import com.sooka.sponest.data.base.domain.BaseBusinessEntity;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import javax.validation.constraints.NotBlank;
- import javax.validation.constraints.NotNull;
- /**
- * 水利巡查任务对象 centerdata_t_hydraulic_patrol_task
- *
- * @author ruoyi
- * @date 2023-03-02
- */
- @Data
- @ApiModel(value = "水利巡查任务对象",description = "水利巡查任务对象")
- public class CenterdataTHydraulicPatrolTask extends BaseBusinessEntity {
- private static final long serialVersionUID = 1L;
- /**
- * 主键id
- */
- @ApiModelProperty(value = "主键id", required = false)
- private String id;
- /**
- * 任务名称
- */
- @Excel(name = "任务名称")
- @NotBlank(message = "任务名称不能为空")
- @ApiModelProperty(value = "任务名称", required = false)
- private String taskName;
- /**
- * 所属计划
- */
- @NotBlank(message = "所属计划不能为空")
- @ApiModelProperty(value = "所属计划", required = false)
- private String planId;
- /**
- * 计划名称
- */
- @Excel(name = "计划名称")
- @NotBlank(message = "计划名称不能为空")
- @ApiModelProperty(value = "计划名称", required = false)
- private String planName;
- /**
- * 任务状态
- */
- @NotBlank(message = "任务状态不能为空")
- @Excel(name = "任务状态",dictType = "water_task_status")
- @ApiModelProperty(value = "任务状态", required = false)
- private String status;
- /**
- * 部门id
- */
- @NotNull(message = "部门id不能为空")
- @ApiModelProperty(value = "部门id", required = false)
- private Long deptId;
- /**
- * 所属部门
- */
- @Excel(name = "所属部门")
- @NotBlank(message = "所属部门不能为空")
- @ApiModelProperty(value = "所属部门", required = false)
- private String deptName;
- /**
- * 数据状态
- */
- @ApiModelProperty(value = "数据状态", required = false)
- private String dataStatus;
- //@Excel(name = "执行人员")
- //@NotBlank(message = "执行人员不能为空")
- @ApiModelProperty(value = "执行人员", required = false)
- private String userId;
- @ApiModelProperty(value = "类型", required = false)
- private String type;
- @ApiModelProperty(required = false,hidden = true)
- private String planCount;
- @ApiModelProperty(required = false,hidden = true)
- private String recordCount;
- // @Excel(name = "任务轨迹")
- @NotBlank(message = "任务轨迹不能为空")
- @ApiModelProperty(value = "任务轨迹", required = false)
- private String patrolTrajectory;
- @Excel(name = "计划巡查距离(km)")
- @ApiModelProperty(value = "计划巡查距离(km)", required = false)
- private String planLength;
- @Excel(name = "实际巡查距离(km)")
- @ApiModelProperty(value = "实际巡查距离(km)", required = false)
- private String realLength;
- @ApiModelProperty(required = false,hidden = true)
- private String leadType;
- }
|