package com.fuyuanshen.equipment.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fuyuanshen.equipment.domain.DeviceFenceStatus;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.fuyuanshen.common.excel.annotation.ExcelDictFormat;
import com.fuyuanshen.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 设备进入围栏状态视图对象 device_fence_status
 *
 * @author Lion Li
 * @date 2025-09-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DeviceFenceStatus.class)
public class DeviceFenceStatusVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 设备ID
     */
    @ExcelProperty(value = "设备ID")
    private String deviceId;

    /**
     * 围栏ID
     */
    @ExcelProperty(value = "围栏ID")
    private Long fenceId;

    /**
     * 状态: 0-在围栏外, 1-在围栏内
     */
    @ExcelProperty(value = "状态: 0-在围栏外, 1-在围栏内")
    private Long status;

    /**
     * 上次检查时间
     */
    @ExcelProperty(value = "上次检查时间")
    private Date lastCheckTime;


}
