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

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
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;

/**
 * @Author cpp
 * @Description
 * @Date 2023/6/5
 */
@Data
@Accessors(chain = true)
@Document(indexName = "idx_biz_view_jg_all", type = "idx_biz_view_jg_all", shards = 1, replicas = 0)
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.Text)
    private String EQU_LIST_CODE;

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

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

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

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

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

    @Field(type = FieldType.Text)
    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.Text)
    private String STATUS;

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


}
