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.
26 lines
666 B
26 lines
666 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Infrastructure.Domain;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
/// <summary>
|
|
/// 专业
|
|
/// </summary>
|
|
[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<TeachingPlan> Plans { get; set; } = new List<TeachingPlan>();
|
|
}
|
|
} |