✨
This commit is contained in:
23
StopShopping.Services/Models/Resp/Category.cs
Normal file
23
StopShopping.Services/Models/Resp/Category.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace StopShopping.Services.Models.Resp;
|
||||
|
||||
public record Category
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public int ParentId { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
/// <summary>
|
||||
/// logo地址
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public string LogoUrl { get; set; } = string.Empty;
|
||||
/// <summary>
|
||||
/// 层级中序号
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public int Order { get; set; }
|
||||
/// <summary>
|
||||
/// 下级分类列表
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
public List<Category> Children { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user