forked from rongchao/epmet-cloud-rizhao
13 changed files with 379 additions and 7 deletions
@ -0,0 +1,25 @@ |
|||
package com.epmet.user.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/6/7 2:57 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class GridManagerListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -7624307754570242679L; |
|||
|
|||
public interface GridManagerListForm{} |
|||
|
|||
@NotBlank(message = "组织ID不能为空",groups = GridManagerListForm.class) |
|||
private String agencyId; |
|||
|
|||
@NotBlank(message = "行政区域编码不能为空",groups = GridManagerListForm.class) |
|||
private String areaCode; |
|||
} |
@ -0,0 +1,23 @@ |
|||
package com.epmet.user.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/6/7 3:27 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class PatrolTrackFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 5074643104620363029L; |
|||
|
|||
public interface PatrolTrackForm{} |
|||
|
|||
@NotBlank(message = "巡查记录ID不能为空",groups = PatrolTrackForm.class) |
|||
private String staffPatrolRecId; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.user.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/6/7 3:09 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class RecordListFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1034587652692011650L; |
|||
|
|||
public interface RecordListForm{} |
|||
|
|||
@NotBlank(message = "staffId不能为空",groups = RecordListForm.class) |
|||
private String staffId; |
|||
|
|||
@NotBlank(message = "网格ID不能为空",groups = RecordListForm.class) |
|||
private String gridId; |
|||
|
|||
} |
@ -0,0 +1,52 @@ |
|||
package com.epmet.user.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/6/7 2:57 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class GridManagerListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 3606724812822179356L; |
|||
|
|||
/** |
|||
* 工作人员id |
|||
*/ |
|||
private String staffId; |
|||
|
|||
/** |
|||
* 经度 |
|||
*/ |
|||
private String longitude; |
|||
|
|||
/** |
|||
* 纬度 |
|||
*/ |
|||
private String latitude; |
|||
|
|||
/** |
|||
* 网格ID |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 正在巡查:patrolling;否则返回空字符串 |
|||
*/ |
|||
private String status; |
|||
|
|||
/** |
|||
* 网格名称,最多显示上两级 |
|||
*/ |
|||
private String gridName; |
|||
|
|||
/** |
|||
* 姓名 |
|||
*/ |
|||
private String staffName; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.user.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/6/7 3:29 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class PatrolTrackResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 5147586435344204616L; |
|||
|
|||
/** |
|||
* 纬度 |
|||
*/ |
|||
private String latitude; |
|||
|
|||
/** |
|||
* 经度 |
|||
*/ |
|||
private String longitude; |
|||
} |
@ -0,0 +1,36 @@ |
|||
package com.epmet.user.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2021/6/7 3:14 下午 |
|||
* @DESC |
|||
*/ |
|||
@Data |
|||
public class RecordListResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -1021736989973649009L; |
|||
|
|||
/** |
|||
* 巡查记录id |
|||
*/ |
|||
private String staffPatrolRecId; |
|||
|
|||
/** |
|||
* 开始时间;yyyy-MM-dd HH:mm |
|||
*/ |
|||
private String patrolStartTime; |
|||
|
|||
/** |
|||
* 结束时间;yyyy-MM-dd HH:mm |
|||
*/ |
|||
private String patrolEndTime; |
|||
|
|||
/** |
|||
* 正在巡查:patrolling;已结束:end |
|||
*/ |
|||
private String status; |
|||
} |
Loading…
Reference in new issue