diff --git a/src/main/java/com/peteralbus/entity/Hospital.java b/src/main/java/com/peteralbus/entity/Hospital.java index 298d9f3..9f533f8 100644 --- a/src/main/java/com/peteralbus/entity/Hospital.java +++ b/src/main/java/com/peteralbus/entity/Hospital.java @@ -1,5 +1,6 @@ package com.peteralbus.entity; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.AllArgsConstructor; import lombok.Data; @@ -12,8 +13,9 @@ import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor -@TableName("fire_center") +@TableName("hospital_center") public class Hospital { + @TableId private Integer id; private Double lon; private Double lat;