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

import lombok.Data;
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;
import org.springframework.data.elasticsearch.annotations.Mapping;
/**
 * 
 * <pre>
 *  单位
 * </pre>
 *
 */
@Data
@Document(indexName = "org", type = "_doc", shards = 1, replicas = 0)
public class ESOrgUsrDto {

    /**部门主键 */
    @Id
    private Long sequenceNbr;
    
    @Field(type = FieldType.Text,analyzer="ik_max_word",searchAnalyzer="ik_max_word")
    private String bizOrgName;
    
   
}
