✨
This commit is contained in:
29
StopShopping.Services/Models/Resp/District.cs
Normal file
29
StopShopping.Services/Models/Resp/District.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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,]3,4
|
||||
/// </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; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user