package com.fuyuanshen.equipment.domain;

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

import java.io.Serial;

/**
 * 设备进入围栏状态对象 device_fence_status
 *
 * @author Lion Li
 * @date 2025-09-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("device_fence_status")
public class DeviceFenceStatus extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 设备ID
     */
    private String deviceId;

    /**
     * 围栏ID
     */
    private Long fenceId;

    /**
     * 状态: 0-在围栏外, 1-在围栏内
     */
    private Long status;

    /**
     * 上次检查时间
     */
    private Date lastCheckTime;


}
