21 lines
No EOL
627 B
C#
21 lines
No EOL
627 B
C#
using System;
|
|
using MediatR;
|
|
|
|
namespace Sledgemapper.Api.Commands
|
|
{
|
|
public class InvitePlayerToCampaignCommand : IRequest<bool>
|
|
{
|
|
public double Timestamp { get; private set; }
|
|
public Guid CampaignId { get; private set; }
|
|
public string Email { get; private set; }
|
|
public string UserId { get; private set; }
|
|
public InvitePlayerToCampaignCommand(Guid campaignId, string email, string userId)
|
|
{
|
|
Timestamp = DateTimeOffset.Now.ToUnixTimeMilliseconds();
|
|
CampaignId = campaignId;
|
|
UserId = userId;
|
|
Email = email;
|
|
}
|
|
}
|
|
|
|
} |