package com.weather.modules.region.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 行政区划表
 *
 * @author Mark 123
 * @since 1.0.0 2026-03-05
 */
@Data
@Schema(name = "行政区划表")
public class SysRegionDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "行政区编码")
	private Long id;

	@SchemaProperty(name = "名称")
	private String name;

	@SchemaProperty(name = "层级 0国家 1省 2市 3区县")
	private Integer level;

	@SchemaProperty(name = "父级行政区")
	private Long parentId;

	@SchemaProperty(name = "经度")
	private BigDecimal lon;

	@SchemaProperty(name = "纬度")
	private BigDecimal lat;


}
