Files
2026-03-25 14:55:34 +08:00

30 lines
677 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace StopShopping.Services.Models.Resp;
/// <summary>
/// 行政区划
/// </summary>
public class District
{
public int Id { get; set; }
/// <summary>
/// 父级id
/// </summary>
/// <value></value>
public int ParentId { get; set; }
/// <summary>
/// 层级1[2]34
/// </summary>
/// <value></value>
public int Level { get; set; }
/// <summary>
/// 名称
/// </summary>
/// <value></value>
public string FullName { get; set; } = string.Empty;
/// <summary>
/// 下级,街道无下级
/// </summary>
/// <value></value>
public List<District> Children { get; set; } = [];
}