-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUser.cs
33 lines (19 loc) · 1 KB
/
User.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
namespace PEP.Models.Domain;
public partial class User
{
public int UserId { get; set; }
public string UserName { get; set; } = null!;
public string Account { get; set; } = null!;
public string Password { get; set; } = null!;
public string? Avatar { get; set; }
public string Role { get; set; } = null!;
public virtual ICollection<Comment> Comments { get; set; } = new List<Comment>();
public virtual ICollection<Post> Posts { get; set; } = new List<Post>();
public virtual ICollection<Reply> ReplyFromUsers { get; set; } = new List<Reply>();
public virtual ICollection<Reply> ReplyToUsers { get; set; } = new List<Reply>();
public virtual ICollection<SubmissionRecord> SubmissionRecords { get; set; } = new List<SubmissionRecord>();
public virtual ICollection<UserCourse> UserCourses { get; set; } = new List<UserCourse>();
public virtual ICollection<UserLike> UserLikes { get; set; } = new List<UserLike>();
}