package cn.cslg.pas.domain;

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

/**
 * 检索记录实体类
 * @author 李仁杰
 * 2023/7/8
 */
@Data
@TableName(value ="retrieve_record")
public class RetrieveRecord extends BaseEntity<RetrieveRecord> {

    /**
     * 检索式
     */
    @TableField(value = "conditions")
    private String conditions;
    @TableField(value = "db_type")
    private String dbType;
    /**
     * 租户
     */
    @TableField(value = "tenant_id")
    private Integer tenantId;
    /**
     * 总条数
     */
    @TableField(value = "total_num")
    private Integer totalNum;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人id
     */
    @TableField(value = "create_id")
    private Integer createId;

    /**
     * 检索时间
     */
    @TableField(value = "retrieve_time")
    private Date retrieveTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}