package com.fuyuanshen.equipment.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fuyuanshen.common.mybatis.core.domain.BaseEntity;
import com.fuyuanshen.common.tenant.core.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 设备日志对象 device_log
 *
 * @author Lion Li
 * @date 2025-07-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("device_log")
public class DeviceLog  extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 设备行为
     */
    private String deviceAction;
    // private Integer deviceActionInt;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 数据来源
     */
    private String dataSource;

    /**
     * 内容
     */
    private String content;

}
