package com.zhongshu.card.server.core.domain.org;

import com.github.microservice.components.data.mongo.mongo.domain.SuperEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 地区信息
 */
@Data
@Builder
@Document
@AllArgsConstructor
@NoArgsConstructor
public class Region extends SuperEntity {

    /**
     * 编号
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 省市区province、city、county
     */
    private String type;

    /**
     * 删除
     */
    private String isDelete;

    private String parentId;

    private Long index = 0L;
}
