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.
24 lines
629 B
24 lines
629 B
using Infrastructure.Domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace TeacherExt.Entities
|
|
{
|
|
public class User : EntityBase<Guid>
|
|
{
|
|
public User()
|
|
{
|
|
this.Id = Guid.NewGuid();
|
|
}
|
|
public string UserName { get; set; }
|
|
public string PasswordSalt { get; set; }
|
|
public string PasswordHash { get; set; }
|
|
public string RealName { get; set; }
|
|
public Guid OrganId { get; set; }
|
|
public Organ Organ { get; set; }
|
|
public List<UserRole> UserRoles { get; set; }
|
|
//
|
|
public Teacher Teacher { get; set; }
|
|
}
|
|
}
|