用户上报新增地址名称字段

This commit is contained in:
yanglei 2026-01-05 16:08:16 +08:00
parent eefc645cee
commit fb9787fec1
2 changed files with 4 additions and 3 deletions

View File

@ -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;
/**
* 地址名称

View File

@ -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;
/**
* 地址名称