|
using SQLite;
|
|
|
|
namespace Backend.Model;
|
|
|
|
public class User : TreeNode
|
|
{
|
|
[Indexed]
|
|
public String Email { get; set; } = "";
|
|
public Boolean HasWriteAccess { get; set; }
|
|
public String Salt { get; set; }
|
|
public String Password { get; set; }
|
|
|
|
// TODO: must reset pwd
|
|
}
|
|
|
|
|