namespace AgriculturalPlatform.Api.Models;
///
/// 行政区划(来自 AreaCity 全国省市区乡镇四级公开数据,导入 Regions 表)。
/// deep: 0=省 1=市(地级/直辖市虚拟层级) 2=县(区/县级市) 3=乡镇(镇/乡/街道)
///
public class Region
{
public int Id { get; set; }
/// 上级 Id(省为 0)
public int Pid { get; set; }
/// 层级深度 0~3
public int Deep { get; set; }
/// 精简名称(如 武汉)
public string Name { get; set; } = string.Empty;
/// 完整名称(如 武汉市)
public string ExtName { get; set; } = string.Empty;
/// 完整拼音(如 wu han)
public string Pinyin { get; set; } = string.Empty;
/// 拼音首字母前缀(如 w)
public string PinyinPrefix { get; set; } = string.Empty;
/// 热度(值越大排序越靠前,用于常用省份/地区优先展示,默认 0)
public int Hot { get; set; }
}