package org.dromara.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;
import org.dromara.common.excel.annotation.Excel;

/**
 * 地址对象
 *
 */
@Schema(description="地址对象")
@Data
@TableName("address")
public class Address extends BaseAudit {

    @Schema(description ="ID")
    private Integer id;

    @Schema(description ="地区邮编")
    private Long code;

    @Schema(description ="父地区邮编")
    private Long parentCode;

    @Schema(description ="地区名")
    private String name;

    @Schema(description ="地区层级")
    private Integer level;
}
