|
@@ -15,7 +15,19 @@ import java.util.List;
|
|
@Data
|
|
@Data
|
|
@Accessors(chain = true)
|
|
@Accessors(chain = true)
|
|
public class DeviceInfoDto {
|
|
public class DeviceInfoDto {
|
|
- public final static String UPDATE_LINE_DEL = "del", UPDATE_LINE_UPDATE = "update" , UPDATE_LINE_CLEAR = "clear";
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 删除线路时指定 传入 wherePlaceLineId
|
|
|
|
+ */
|
|
|
|
+ public final static String UPDATE_LINE_DEL = "del";
|
|
|
|
+ /**
|
|
|
|
+ * 更新线路时指定 传入 deviceIds、placeLineId
|
|
|
|
+ */
|
|
|
|
+ public final static String UPDATE_LINE_UPDATE = "update";
|
|
|
|
+ /**
|
|
|
|
+ * 解绑线路时指定 传入 deviceIds
|
|
|
|
+ */
|
|
|
|
+ public final static String UPDATE_LINE_CLEAR = "clear";
|
|
|
|
+
|
|
@Data
|
|
@Data
|
|
@Accessors(chain = true)
|
|
@Accessors(chain = true)
|
|
public static class Obj {
|
|
public static class Obj {
|
|
@@ -38,11 +50,11 @@ public class DeviceInfoDto {
|
|
@Accessors
|
|
@Accessors
|
|
public static class UpdateLine {
|
|
public static class UpdateLine {
|
|
@NotNull(message = "更新类型")
|
|
@NotNull(message = "更新类型")
|
|
- @ApiModelProperty(value = "更新类型",required = true)
|
|
|
|
|
|
+ @ApiModelProperty(value = "更新类型", required = true)
|
|
private String type;
|
|
private String type;
|
|
|
|
|
|
@NotNull(message = "商户id不能为空")
|
|
@NotNull(message = "商户id不能为空")
|
|
- @ApiModelProperty(value = "商户id",required = true)
|
|
|
|
|
|
+ @ApiModelProperty(value = "商户id", required = true)
|
|
private Long mercId;
|
|
private Long mercId;
|
|
|
|
|
|
@ApiModelProperty("设备id集合")
|
|
@ApiModelProperty("设备id集合")
|
|
@@ -108,6 +120,12 @@ public class DeviceInfoDto {
|
|
|
|
|
|
@ApiModelProperty("附近最大距离,单位:米")
|
|
@ApiModelProperty("附近最大距离,单位:米")
|
|
private Integer nearby;
|
|
private Integer nearby;
|
|
|
|
+ @ApiModelProperty(value = "系统信息", hidden = true)
|
|
|
|
+ private DeviceSysinfoDto.Vo deviceSysinfo;
|
|
|
|
+ @ApiModelProperty(value = "状态信息", hidden = true)
|
|
|
|
+ private DeviceStatusDto.Vo deviceStatus;
|
|
|
|
+ @ApiModelProperty(value = "注册信息", hidden = true)
|
|
|
|
+ private DeviceRegisterDto.Vo deviceRegister;
|
|
|
|
|
|
public String getBeginActiveTime() {
|
|
public String getBeginActiveTime() {
|
|
return beginActiveTime == null ? null : DataTime.toString(beginActiveTime.atTime(0, 0, 0));
|
|
return beginActiveTime == null ? null : DataTime.toString(beginActiveTime.atTime(0, 0, 0));
|
|
@@ -116,15 +134,6 @@ public class DeviceInfoDto {
|
|
public String getEndActiveTime() {
|
|
public String getEndActiveTime() {
|
|
return endActiveTime == null ? null : DataTime.toString(endActiveTime.atTime(23, 59, 59));
|
|
return endActiveTime == null ? null : DataTime.toString(endActiveTime.atTime(23, 59, 59));
|
|
}
|
|
}
|
|
-
|
|
|
|
- @ApiModelProperty(value = "系统信息", hidden = true)
|
|
|
|
- private DeviceSysinfoDto.Vo deviceSysinfo;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "状态信息", hidden = true)
|
|
|
|
- private DeviceStatusDto.Vo deviceStatus;
|
|
|
|
-
|
|
|
|
- @ApiModelProperty(value = "注册信息", hidden = true)
|
|
|
|
- private DeviceRegisterDto.Vo deviceRegister;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@Data
|
|
@Data
|