28 lines
621 B
C#
28 lines
621 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace NadekoBot.Services.Database.Models
|
|||
|
{
|
|||
|
public class WaifuUpdate : DbEntity
|
|||
|
{
|
|||
|
public int UserId { get; set; }
|
|||
|
public DiscordUser User { get; set; }
|
|||
|
public WaifuUpdateType UpdateType { get; set; }
|
|||
|
|
|||
|
public int? OldId { get; set; }
|
|||
|
public DiscordUser Old { get; set; }
|
|||
|
|
|||
|
public int? NewId { get; set; }
|
|||
|
public DiscordUser New { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public enum WaifuUpdateType
|
|||
|
{
|
|||
|
AffinityChanged,
|
|||
|
Claimed
|
|||
|
}
|
|||
|
}
|