feige
2024-01-16 1695c8356c17395139bc806ead0596a929518707
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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中对应的数据所属家庭id*/
    @Field(index = true,type = FieldType.Long)
    private Long fid;
 
    /**** 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;
 
    /** 备用6 */
    @Field(index = true,type = FieldType.Text,analyzer = "ik_max_word")
    private String by6;
 
    /** 备用6 */
    @Field(index = true,type = FieldType.Text,analyzer = "ik_max_word")
    private String by7;
 
 
 
 
}