You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
3.4 KiB
115 lines
3.4 KiB
package com.inscloudtech.datacenter.domain;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import com.inscloudtech.common.annotation.DeduplicationField;
|
|
|
|
import com.inscloudtech.common.annotation.UpdateValueLog;
|
|
import com.inscloudtech.common.core.domain.BaseEntity;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
import org.dromara.easyes.annotation.IndexField;
|
|
import org.dromara.easyes.annotation.IndexId;
|
|
import org.dromara.easyes.annotation.IndexName;
|
|
import org.dromara.easyes.annotation.rely.FieldType;
|
|
import org.dromara.easyes.annotation.rely.RefreshPolicy;
|
|
|
|
/**
|
|
* 重点人员资产-车辆信息对象 dc_car_info
|
|
*
|
|
* @author inscloudtech
|
|
* @date 2023-11-09
|
|
*/
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@TableName("dc_car_info")
|
|
@ExcelIgnoreUnannotated
|
|
@IndexName(value = "dc_car_info",refreshPolicy = RefreshPolicy.IMMEDIATE)
|
|
public class CarInfo extends BaseEntity {
|
|
|
|
/** id */
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
@IndexId(type = org.dromara.easyes.annotation.rely.IdType.CUSTOMIZE)
|
|
private String id;
|
|
/**
|
|
* 姓名
|
|
*/
|
|
@UpdateValueLog(fieldName = "姓名")
|
|
@ExcelProperty(value = "姓名",index = 0)
|
|
@DeduplicationField
|
|
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
|
|
private String name;
|
|
/**
|
|
* 身份证号
|
|
*/
|
|
@ExcelProperty(value = "身份证号",index = 1)
|
|
@DeduplicationField
|
|
@UpdateValueLog(fieldName = "身份证号")
|
|
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
|
|
private String idCard;
|
|
/**
|
|
* 车牌号
|
|
*/
|
|
@ExcelProperty(value = "车牌号",index = 2)
|
|
@DeduplicationField
|
|
@UpdateValueLog(fieldName = "车牌号")
|
|
@IndexField(fieldType = FieldType.KEYWORD)
|
|
private String carNo;
|
|
/**
|
|
* 车型
|
|
*/
|
|
@UpdateValueLog(fieldName = "车型")
|
|
@ExcelProperty(value = "车型",index = 3)
|
|
@DeduplicationField
|
|
@IndexField(fieldType = FieldType.KEYWORD)
|
|
private String carType;
|
|
/**
|
|
* 转让登记
|
|
*/
|
|
@UpdateValueLog(fieldName = "转让登记")
|
|
@ExcelProperty(value = "转让登记",index = 4)
|
|
@DeduplicationField
|
|
@IndexField(fieldType = FieldType.KEYWORD)
|
|
private String registration;
|
|
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
@UpdateValueLog(fieldName = "备注")
|
|
@ExcelProperty(value = "备注",index = 5)
|
|
@DeduplicationField
|
|
@IndexField(fieldType = FieldType.KEYWORD_TEXT, analyzer = "ngram_analyzer")
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
private String remark;
|
|
|
|
/**
|
|
* 车辆停放及登记地址
|
|
*/
|
|
@UpdateValueLog(fieldName = "车辆停放及登记地址")
|
|
@ExcelProperty(value = "车辆停放及登记地址",index = 6)
|
|
@DeduplicationField
|
|
@IndexField(fieldType = FieldType.KEYWORD)
|
|
private String address;
|
|
|
|
@UpdateValueLog(fieldName = "背景色")
|
|
@IndexField(strategy = org.dromara.easyes.annotation.rely.FieldStrategy.IGNORED)
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
private String bgc;
|
|
|
|
@DeduplicationField
|
|
private String caseId;
|
|
|
|
@IndexField(fieldType = FieldType.KEYWORD)
|
|
@DeduplicationField
|
|
private String analysisResultId;
|
|
|
|
@ExcelIgnore
|
|
@TableField(exist = false)
|
|
@IndexField(exist = false)
|
|
private Integer lineNo;
|
|
|
|
}
|