using System; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { [Display(Name = "课程每期的学员")] public class TermUser : BaseEntity { [Display(Name = "期次")] public Guid TermId { get; set; } [Display(Name = "学员")] public Guid UserId { get; set; } [Display(Name = "成绩")] public float Score { get; set; } public User User { get; set; } public Term Term { get; set; } } }