forked from adam/discord-bot-shtik
17 lines
637 B
C#
17 lines
637 B
C#
namespace vassago.Models;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Reflection;
|
|
|
|
public class User //more like "user's account - no concept of the person outside of the protocol. (yet?)
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public Guid Id { get; set; }
|
|
public ulong? ExternalId { get; set; }
|
|
public string Username { get; set; } //TODO: display names. many protocols support this feature.
|
|
public bool IsBot { get; set; } //webhook counts
|
|
public Channel SeenInChannel { get; set; }
|
|
public string Protocol { get; set; }
|
|
} |