You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
504 B

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