vassago/Models/User.cs

17 lines
597 B
C#
Raw Normal View History

2023-06-01 00:03:23 -04:00
namespace vassago.Models;
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;
public class User //TODO: distinguish the user and their account
{
2023-06-05 14:55:48 -04:00
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
2023-06-01 00:03:23 -04:00
public Guid Id { get; set; }
public ulong? ExternalId { get; set; }
2023-06-05 14:55:48 -04:00
public string Username { get; set; } //TODO: display names. many protocols support this feature.
2023-06-01 00:03:23 -04:00
public bool IsBot { get; set; } //webhook counts
2023-06-05 14:55:48 -04:00
public Channel SeenInChannel { get; set; }
public string Protocol { get; set; }
}