package com.sdut.labex.entity;

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;

/**
 * 日志
 *
 * @TableName log
 */
@TableName(value = "log")
@Data
public class LogEntity implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String content;

    /**
     *
     */
    private String date;

    /**
     *
     */
    private Long cost;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}