package com.sandu.ximon.dao.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
/**
|
* 设备操作日志
|
* @TableName device_operation_log
|
*/
|
@TableName(value ="device_operation_log")
|
@Data
|
public class DeviceOperationLog implements Serializable {
|
/**
|
*
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
*
|
*/
|
private Long userId;
|
|
/**
|
*
|
*/
|
private String userName;
|
|
/**
|
* 设备编码
|
*/
|
private String deviceCode;
|
|
/**
|
* 设备名称
|
*/
|
private String deviceName;
|
|
/**
|
* 操作类型
|
*/
|
private String operation;
|
|
/**
|
* 操作内容及结果
|
*/
|
private String content;
|
|
/**
|
* 灯杆Mac
|
*/
|
private String poleCode;
|
|
/**
|
* 操作时间
|
*/
|
private LocalDateTime createTime;
|
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
}
|