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.
20 lines
530 B
20 lines
530 B
using Infrastructure.Domain;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
public class Category : BaseEntity
|
|
{
|
|
[Display(Name = "分类名称")]
|
|
public string Name { get; set; }
|
|
|
|
[Display(Name = "分类编号")]
|
|
public string Number { get; set; }
|
|
|
|
[Display(Name = "分类图标")]
|
|
public string Icon { get; set; }
|
|
|
|
public List<Product> Products { get; set; } = new List<Product>();
|
|
}
|
|
} |