package com.skr.mdm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * 用户日志 用户日志信息(LogUser)实体类
 *
 * @author nfq
 * @since 2020-08-04 16:53:57
 */
@Data
@Builder
@TableName("log_user")
public class LogUserDO implements Serializable {
    private static final long serialVersionUID = 755322492308203842L;

    private Integer id;
    /**
     * 设备id
     */
    private Integer equipmentId;

    private String userName;

    private String equipmentName;

    private String departmentName;
    /**
     * 日志类型 1:上线 2：离线 3: 应用安装 4：应用下载 5：应用卸载 6：发送短信  7：接受短信 8：通话呼入 9：通话呼出 10：签到 11:截屏 12:拍照 13:报警
     */
    private Integer logType;

    private String content;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    
    private Date operateTime;

    private Integer departmentId;

    private Integer companyId;

    private Integer cid;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    
    private Date updateTime;

}