2023-02-16 12:57:06 +00:00
|
|
|
using SQLite;
|
|
|
|
|
|
|
|
namespace Backend.Model;
|
|
|
|
|
|
|
|
public class User : TreeNode
|
|
|
|
{
|
|
|
|
[Indexed]
|
|
|
|
public String Email { get; set; } = "";
|
|
|
|
public Boolean HasWriteAccess { get; set; }
|
2023-02-21 08:58:21 +00:00
|
|
|
public String Salt { get; set; }
|
|
|
|
public String Password { get; set; }
|
2023-02-16 12:57:06 +00:00
|
|
|
|
|
|
|
// TODO: must reset pwd
|
|
|
|
}
|
|
|
|
|
|
|
|
|