2023-02-16 12:57:06 +00:00
|
|
|
using SQLite;
|
|
|
|
|
2023-03-08 12:20:33 +00:00
|
|
|
namespace InnovEnergy.App.Backend.Model;
|
2023-02-16 12:57:06 +00:00
|
|
|
|
|
|
|
public class User : TreeNode
|
|
|
|
{
|
|
|
|
[Indexed]
|
2023-03-09 10:01:48 +00:00
|
|
|
public String Email { get; set; } = null!;
|
|
|
|
public Boolean HasWriteAccess { get; set; } = false;
|
|
|
|
public String Salt { get; set; } = null!;
|
|
|
|
public String Password { get; set; } = null!;
|
2023-02-16 12:57:06 +00:00
|
|
|
|
|
|
|
// TODO: must reset pwd
|
|
|
|
}
|
|
|
|
|
|
|
|
|