| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.pojoBa; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.annotation.JSONField; | 
 |  |  | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
 |  |  | import com.dy.common.po.BaseEntity; | 
 |  |  | import jakarta.validation.constraints.NotNull; | 
 |  |  | import lombok.*; | 
 |  |  |  | 
 |  |  | import java.math.BigDecimal; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-08-13 11:33 | 
 |  |  |  * @LastEditTime 2024-08-13 11:33 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  | /** | 
 |  |  |  * 地图图形坐标 | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @TableName(value="ba_map_coordinates", autoResultMap = true) | 
 |  |  | @Data | 
 |  |  | @Builder | 
 |  |  | @ToString | 
 |  |  | @NoArgsConstructor | 
 |  |  | @AllArgsConstructor | 
 |  |  | public class BaMapCoordinates implements BaseEntity { | 
 |  |  |     public static final long serialVersionUID = 202408131135001L; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 主键 | 
 |  |  |     */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @TableId(type = IdType.INPUT) | 
 |  |  |     private Long id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 图形ID | 
 |  |  |     */ | 
 |  |  |     @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
 |  |  |     @NotNull(message = "所属图形不能为空") | 
 |  |  |     private Long graphId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 纬度 | 
 |  |  |     */ | 
 |  |  |     private BigDecimal lat; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * 经度 | 
 |  |  |     */ | 
 |  |  |     private BigDecimal lng; | 
 |  |  |  | 
 |  |  | } |