2023-06-01 00:03:23 -04:00
namespace vassago.Models ;
2023-05-23 19:03:58 -04:00
using System ;
2023-06-01 00:03:23 -04:00
using System.Collections.Generic ;
2023-06-05 14:55:48 -04:00
using System.ComponentModel.DataAnnotations.Schema ;
using System.Reflection ;
2023-05-23 19:03:58 -04:00
2023-06-19 12:56:40 -04:00
public class User
2023-05-23 19:03:58 -04:00
{
2023-06-05 14:55:48 -04:00
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
2023-06-01 00:03:23 -04:00
public Guid Id { get ; set ; }
2023-06-19 12:56:40 -04:00
public List < Account > Accounts { get ; set ; }
2023-07-04 18:51:27 -04:00
//permissions are per account-in-channel or per-user, and always propagate down. and since protocol will be a channel, I'll set the "is adam" permission on myself 1x/protocol.
public List < Enumerations . WellknownPermissions > PermissionTags { get ; set ; }
2023-05-23 19:03:58 -04:00
}