package com.ruoyi.common.core.domain.entity;
|
|
|
import lombok.Data;
|
import org.springframework.data.elasticsearch.annotations.Document;
|
import org.springframework.data.elasticsearch.annotations.Field;
|
import org.springframework.data.elasticsearch.annotations.FieldType;
|
|
|
import java.util.Date;
|
|
/**
|
* Es 索引库实体
|
*
|
* @author feige
|
* @date 2023-09-14
|
*/
|
@Document(indexName = "allsearchdata")
|
@Data
|
public class EsModel {
|
|
/*** 索引id*/
|
@Field(type = FieldType.Text)
|
private String id;
|
|
/**** es中对应的数据库业务单据id*/
|
@Field(index = true,type = FieldType.Long)
|
private Long ctId;
|
|
/**** es中业务数据 对应的业务数据库表名称*/
|
@Field(type = FieldType.Text,analyzer = "ik_max_word")
|
private String ctTableName;
|
|
/**** es中业务数据 对应的 业务简称*/
|
@Field(index = true,type = FieldType.Text,analyzer = "ik_max_word")
|
private String ctName;
|
|
|
/**** es中业务数据 对应的 业务内容详细信息*/
|
@Field(index = true,type = FieldType.Text
|
,analyzer = "ik_max_word")
|
private String ctContent;
|
|
|
/** 备注 */
|
@Field(index = true,type = FieldType.Text,analyzer = "ik_max_word")
|
private String remark;
|
|
/** 备用1 */
|
@Field(index = true,type = FieldType.Text,analyzer = "ik_max_word")
|
private String by1;
|
|
/** 备用2 */
|
@Field(index = true,type = FieldType.Text,analyzer = "ik_max_word")
|
private String by2;
|
|
/** 备用3 */
|
@Field(index = true,type = FieldType.Text,analyzer = "ik_max_word")
|
private String by3;
|
|
/** 备用4 */
|
@Field(index = true,type = FieldType.Text,analyzer = "ik_max_word")
|
private String by4;
|
|
/** 备用5 */
|
@Field(type = FieldType.Text,analyzer = "ik_max_word")
|
private String by5;
|
|
}
|