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.
iot/projects/StudyCenter/Application/Domain/Entities/SemesterCourse.cs

38 lines
943 B

using System;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
/// <summary>
/// 学期的课程
/// </summary>
[Display(Name = "学期的课程")]
public class SemesterCourse : BaseEntity
{
[Display(Name = "课程名称")]
public string Name { get; set; }
[Display(Name = "课程编号")]
public string Number { get; set; }
[Display(Name = "分类")]
public string Category { get; set; }
[Display(Name = "类型")]
public string Type { get; set; }
[Display(Name = "学分")]
public float Score { get; set; }
[Display(Name = "学期")]
public Guid SemesterId { get; set; }
public Semester Semester { get; set; }
[Display(Name = "课程期次")]
public Guid? TermId { get; set; }
public Term Term { get; set; }
}
}