|
|
@@ -6,7 +6,6 @@ import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
|
|
|
import com.coffee.common.entity.GenericEntity;
|
|
|
import com.coffee.common.entity.RecordCreationEntity;
|
|
|
import com.coffee.common.entity.RecordModifierEntity;
|
|
|
-import io.lettuce.core.GeoCoordinates;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
|
@@ -21,8 +20,8 @@ import java.util.Date;
|
|
|
*/
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
@Data
|
|
|
-@TableName("bus_hospital")
|
|
|
-public class BusHospitalEntity extends GenericEntity<String> implements RecordModifierEntity, RecordCreationEntity {
|
|
|
+@TableName(value = "bus_hospital",autoResultMap = true)
|
|
|
+public class BusHospitalEntity extends GenericEntity<Long> implements RecordModifierEntity, RecordCreationEntity {
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -62,7 +61,7 @@ public class BusHospitalEntity extends GenericEntity<String> implements RecordMo
|
|
|
private Date updateTime;
|
|
|
|
|
|
@Data
|
|
|
- private static class GeoPoint{
|
|
|
+ public static class GeoPoint{
|
|
|
private String lon;
|
|
|
private String lat;
|
|
|
}
|