package cn.pluss.platform.entity;

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.util.Date;

/**
 * @author SSS
 */
@Data
@TableName("tb_pluss_sys_sql")
public class SysSql implements Serializable {

    public static final String INSERT = "insert";

    public static final String UPDATE = "update";

    public static final String QUERY = "query";

    public static final String DELETE = "delete";

    @TableId
    @TableField("`id`")
    private long id;

    @TableField("`type`")
    private String type;

    @TableField("`mapperName`")
    private String mapperName;

    @TableField("`sql`")
    private String sql;

    @TableField("`createTime`")
    private Date createTime;
}
