package com.dji.sample.manage.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author hqjiang
 * @version 1.0
 * @date 2024/6/21
 */
@TableName("manage_device_opr_logs")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DeviceOprLogsEntity implements Serializable {

    private static final long serialVersionUID = -12L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("username")
    private String username;

    @TableField("device_sn")
    private String deviceSn;

    @TableField("device_name")
    private String deviceName;

    @TableField("nickname")
    private String nickname;

    @TableField("log_info")
    private String logInfo;

    @TableField("workspace_id")
    private String workspaceId;

    @TableField("workspace_name")
    private String workspaceName;

    @TableField("type")
    private Integer type;

    @TableField("bind_code")
    private String bindCode;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Long createTime;

}
