package com.sckw.slope.detection.model.dos.mysql;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lfdc
 * @description 操作日志表
 * @date 2023-10-25 13:46:12
 */
@Data
@TableName("kws_log")
public class KwsLog implements Serializable {
    private Long id;

    /**
     * 操作类型
     */
    private String type;

    /**
     * 企业id
     */
    private String companyId;
    /**
     * 矿山id
     */
    private String mountainId;

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

    /**
     * 操作人
     */
    private Long createBy;

    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    private static final long serialVersionUID = 1L;
}