Commit 22655732 authored by suhuiguang's avatar suhuiguang

feat(综合搜索):实体类创建

1.人员、企业、设备 2.技术参数
parent d2af7815
......@@ -18,9 +18,7 @@ import java.util.Date;
import java.util.List;
/**
* @Author cpp
* @Description
* @Date 2023/6/5
* 设备
*/
@Data
@Accessors(chain = true)
......@@ -205,6 +203,13 @@ public class ESEquipmentInfo {
@Field(type = FieldType.Date, format = DateFormat.date)
private Date USC_DATE;
/**
*
*创建日期
*/
@Field(type = FieldType.Date, format = DateFormat.date_hour_minute_second)
private Date createDate;
/**
* 产品名称
......@@ -304,9 +309,15 @@ public class ESEquipmentInfo {
@Field(type = FieldType.Integer, name = "DATA_QUALITY_SCORE")
private Integer dataQualityScore;
/**
* 设计单位统一信用代码
*/
@Field(type = FieldType.Keyword)
private String designUnitCreditCode;
/**
* 设计单位名称
*/
@Field(type = FieldType.Text)
private String designUnitName;
......
......@@ -10,6 +10,9 @@ import org.springframework.data.elasticsearch.annotations.FieldType;
import java.util.Date;
import java.util.List;
/**
* 企业
*/
@Data
@Document(indexName = "idx_biz_enterprise_info")
public class EsBaseEnterpriseInfo {
......
......@@ -10,6 +10,9 @@ import org.springframework.data.elasticsearch.annotations.FieldType;
import java.util.Date;
import java.util.List;
/**
* 人员
*/
@Data
@Document(indexName = "idx_biz_user_info")
public class EsUserInfo {
......@@ -120,6 +123,12 @@ public class EsUserInfo {
private String unitCode;
/**
* 人员所属企业单位类型
*/
@Field(type = FieldType.Keyword)
private String unitType;
/**
* 头像
*/
@Field(type = FieldType.Keyword)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment