fuliqi
2025-01-02 73caf5a7072976021f43a764ed2ad73404f4d040
ycl-pojo/src/main/java/com/ycl/platform/domain/result/BaseResult.java
@@ -4,6 +4,8 @@
import org.bson.types.ObjectId;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.index.TextIndexed;
import java.time.LocalDate;
import java.util.Date;
@@ -17,14 +19,17 @@
     * 数据日期
     */
    @CreatedDate
    @Indexed(background = true)
    private LocalDate mongoCreateTime;
    /**
     * 国标码
     */
    @Indexed(background = true)
    private String no;
    /**
     * 省厅
     */
    @Indexed(background = true)
    private Boolean provinceTag;
    //接收mysql数据用
    private Boolean provinceTagVideo;
@@ -34,20 +39,24 @@
    /**
     * 部级
     */
    @Indexed(background = true)
    private Boolean deptTag;
    /**
     * 重点
     */
    @Indexed(background = true)
    private Boolean importantTag;
    /**
     * 重点指挥图像
     */
    @Indexed(background = true)
    private Boolean importantCommandImageTag;
    /**
     * 新设备, true代表新设备,false和null不是新设备
     */
    @Indexed(background = true)
    private Boolean newDevice;
}