2018-04-08 02:44:42 -04:00
|
|
|
|
using System;
|
2018-02-14 14:01:26 -05:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-04-08 02:44:42 -04:00
|
|
|
|
namespace SharedLibraryCore.Dtos
|
2018-02-14 14:01:26 -05:00
|
|
|
|
{
|
2018-03-06 02:22:19 -05:00
|
|
|
|
public class ProfileMeta : SharedInfo
|
2018-02-14 14:01:26 -05:00
|
|
|
|
{
|
2019-03-27 20:40:26 -04:00
|
|
|
|
public enum MetaType
|
|
|
|
|
{
|
|
|
|
|
Other,
|
|
|
|
|
Information,
|
|
|
|
|
AliasUpdate,
|
2019-03-29 22:56:56 -04:00
|
|
|
|
ChatMessage,
|
|
|
|
|
Penalized,
|
|
|
|
|
ReceivedPenalty,
|
2019-04-23 18:27:20 -04:00
|
|
|
|
QuickMessage
|
2019-03-27 20:40:26 -04:00
|
|
|
|
}
|
|
|
|
|
|
2018-02-14 14:01:26 -05:00
|
|
|
|
public DateTime When { get; set; }
|
|
|
|
|
public string WhenString => Utilities.GetTimePassed(When, false);
|
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
public dynamic Value { get; set; }
|
2018-06-05 17:31:36 -04:00
|
|
|
|
public string Extra { get; set; }
|
2018-02-14 14:01:26 -05:00
|
|
|
|
public virtual string Class => Value.GetType().ToString();
|
2019-03-27 20:40:26 -04:00
|
|
|
|
public MetaType Type { get; set; }
|
|
|
|
|
public int? Column { get; set; }
|
|
|
|
|
public int? Order { get; set; }
|
2018-02-14 14:01:26 -05:00
|
|
|
|
}
|
|
|
|
|
}
|