package com.fuyuanshen.equipment.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fuyuanshen.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 电子围栏对象 device_geo_fence
 *
 * @author Lion Li
 * @date 2025-09-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("device_geo_fence")
public class DeviceGeoFence extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 围栏唯一标识
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 围栏名称
     */
    private String name;

    /**
     * 围栏描述
     */
    private String description;

    /**
     * 围栏区域类型,  0 POLYGON, 1 CIRCLE
     */
    private Long areaType;

    /**
     * 围栏坐标数据
     */
    private String coordinates;

    /**
     * 圆形围栏半径(米)
     */
    private Long radius;

    /**
     * 是否激活
     */
    private Long isActive;
    /**
     * 高德服务ID
     */
    private Long sid;
    /**
     * 高德围栏ID
     */
    private Long gfid;


}
