using Infrastructure.Domain; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace IoTShared.Application.Domain.Entities { [Display(Name = "分类")] public class Category : BaseTreeEntity { public string Name { get; set; } public string Number { get; set; } [Display(Name = "分类图标")] public string Image { get; set; } public List Products { get; set; } = new List(); } }