用户上报新增地址名称字段
This commit is contained in:
parent
eefc645cee
commit
fb9787fec1
@ -2,6 +2,7 @@ package com.ebike.feign.model.dto;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import org.locationtech.jts.geom.Point;
|
||||
import org.postgresql.geometric.PGpoint;
|
||||
|
||||
import java.util.List;
|
||||
@ -25,7 +26,7 @@ public class FeignEbikeReportRecordDto {
|
||||
* 上报位置
|
||||
*/
|
||||
@NotNull(message = "上报位置")
|
||||
private PGpoint location;
|
||||
private Point location;
|
||||
|
||||
/**
|
||||
* 地址名称
|
||||
|
||||
@ -5,7 +5,7 @@ import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.postgresql.geometric.PGpoint;
|
||||
import org.locationtech.jts.geom.Point;
|
||||
import org.postgresql.geometric.PGpolygon;
|
||||
|
||||
import java.io.Serial;
|
||||
@ -35,7 +35,7 @@ public class FeignEbikeReportRecordVo implements Serializable {
|
||||
/**
|
||||
* 上报位置
|
||||
*/
|
||||
private PGpoint location;
|
||||
private Point location;
|
||||
|
||||
/**
|
||||
* 地址名称
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user