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.
19 lines
861 B
19 lines
861 B
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Infrastructure.Domain;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
[Display(Name = "用户")]
|
|
public class User : BaseEntity
|
|
{
|
|
public string UserName { get; set; }
|
|
public List<UserRole> UserRoles { get; set; } = new List<UserRole>();
|
|
public List<TermUser> TermUsers { get; set; } = new List<TermUser>();
|
|
public List<Resource> Resources { get; set; } = new List<Resource>();
|
|
public List<Question> Questions { get; set; } = new List<Question>();
|
|
public List<UserQuestion> UserQuestions { get; set; } = new List<UserQuestion>();
|
|
public List<UserPaperQuestion> UserPaperQuestions { get; set; } = new List<UserPaperQuestion>();
|
|
public List<UserPaper> UserPapers { get; set; } = new List<UserPaper>();
|
|
}
|
|
} |