22 lines
533 B
C#
22 lines
533 B
C#
using MessengerApi.Db;
|
|
|
|
namespace MessengerApi.Models
|
|
{
|
|
public class UserIngestionOperation
|
|
{
|
|
public UserIngestionOperationTypes Type { get; set; }
|
|
|
|
public UserIngestionOperationSubtypes Subtype { get; set; }
|
|
|
|
public string Username { get; set; }
|
|
|
|
public Action<MessengerDbContext> Operation { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
var value = $"Operation: {this.Type}/{this.Subtype} for {this.Username}.";
|
|
return value;
|
|
}
|
|
}
|
|
}
|