1078-查询区域或线路数据
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package com.genersoft.iot.vmp.jt1078.bean;
|
||||
|
||||
public interface JTAreaOrRoute {
|
||||
}
|
||||
@@ -10,7 +10,7 @@ import java.nio.charset.Charset;
|
||||
import java.util.Date;
|
||||
|
||||
@Schema(description = "圆形区域")
|
||||
public class JTCircleArea {
|
||||
public class JTCircleArea implements JTAreaOrRoute{
|
||||
|
||||
@Schema(description = "区域 ID")
|
||||
private long id;
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.nio.charset.Charset;
|
||||
import java.util.List;
|
||||
|
||||
@Schema(description = "多边形区域")
|
||||
public class JTPolygonArea {
|
||||
public class JTPolygonArea implements JTAreaOrRoute{
|
||||
|
||||
@Schema(description = "区域 ID")
|
||||
private long id;
|
||||
|
||||
@@ -9,7 +9,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.nio.charset.Charset;
|
||||
|
||||
@Schema(description = "矩形区域")
|
||||
public class JTRectangleArea {
|
||||
public class JTRectangleArea implements JTAreaOrRoute{
|
||||
|
||||
@Schema(description = "区域 ID")
|
||||
private long id;
|
||||
|
||||
@@ -10,7 +10,7 @@ import java.nio.charset.Charset;
|
||||
import java.util.List;
|
||||
|
||||
@Schema(description = "路线")
|
||||
public class JTRoute {
|
||||
public class JTRoute implements JTAreaOrRoute{
|
||||
|
||||
@Schema(description = "路线 ID")
|
||||
private long id;
|
||||
|
||||
Reference in New Issue
Block a user