package com.yeejoin.amos.boot.module.ymt.api.dto;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Author cpp
 * @Description
 * @Date 2023/6/5
 */
@Data
@Accessors(chain = true)
@Document(indexName = "idx_biz_view_jg_all", shards = 6, replicas = 2)
public class ESEquipmentCategoryDto {

    @Id
    private String SEQUENCE_NBR;

    @Field(type = FieldType.Text)
    private String ORG_BRANCH_NAME;

    @Field(type = FieldType.Text)
    private String ORG_BRANCH_CODE;


    @Field(type = FieldType.Text)
    private String USE_UNIT_NAME;

    @Field(type = FieldType.Text)
    private String USE_UNIT_CREDIT_CODE;

    @Field(type = FieldType.Keyword)
    private String EQU_LIST_CODE;

    @Field(type = FieldType.Text)
    private String EQU_LIST;

    @Field(type = FieldType.Text)
    private String EQU_CATEGORY;

    @Field(type = FieldType.Keyword)
    private String EQU_CATEGORY_CODE;

    @Field(type = FieldType.Keyword)
    private String USE_ORG_CODE;

    @Field(type = FieldType.Text)
    private String CODE96333;

    @Field(type = FieldType.Text)
    private String EQU_CODE;

    @Field(type = FieldType.Keyword)
    private String SUPERVISORY_CODE;

    @Field(type = FieldType.Text)
    private String USE_PLACE;

    @Field(type = FieldType.Text)
    private String ADDRESS;

    @Field(type = FieldType.Integer)
    private Integer EQU_STATE;

    @Field(type = FieldType.Keyword)
    private String STATUS;

    @Field(type = FieldType.Long)
    private Long REC_DATE;


    @Field(type = FieldType.Text)
    private String SAFETY_MANAGER;

    @Field(type = FieldType.Text)
    private String PHONE;

    @Field(type = FieldType.Text)
    private String MAINTAIN_UNIT;

    @Field(type = FieldType.Text)
    private String USE_INNER_CODE;

    @Field(type = FieldType.Text)
    private String FACTORY_NUM;

    @Field(type = FieldType.Text)
    private String PRODUCE_UNIT_NAME;

    @Field(type = FieldType.Text)
    private String INSPECT_REPORT;

    @Field(type = FieldType.Text)
    private String NEXT_INSPECT_DATE;

    @Field(type = FieldType.Text)
    private String CONSTRUCTION_TYPE;

    @Field(type = FieldType.Text)
    private String USC_UNIT_CREDIT_CODE;

    @Field(type = FieldType.Text)
    private String USC_UNIT_NAME;

    @Field(type = FieldType.Text)
    private String USC_DATE;

    @Field(type = FieldType.Text)
    private String EQU_DEFINE;

    @Field(type = FieldType.Text)
    private String EQU_DEFINE_CODE;

    @Field(type = FieldType.Text)
    private String PRODUCT_NAME;

    @Field(type = FieldType.Text)
    private String BRAND_NAME;

    @Field(type = FieldType.Text)
    private String EQU_TYPE;

    @Field(type = FieldType.Text)
    private String PRODUCE_DATE;

    @Field(type = FieldType.Text)
    private String DATA_SOURCE;

    @Field(type = FieldType.Text)
    private String WHETHER_VEHICLE_CYLINDER;
}
