using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { /// /// 专业 /// [Display(Name = "专业")] public class Major : BaseEntity { [Display(Name = "名称")] public string Name { get; set; } [Display(Name = "编号")] public string Number { get; set; } [Display(Name = "分类")] public Guid CategoryId { get; set; } public MajorCategory Category { get; set; } public List Plans { get; set; } = new List(); } }