Files
using.cash/Basic/Types/BasicInternalPollVote.cs
T

37 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using Swarmops.Basic.Interfaces;
namespace Swarmops.Basic.Types
{
public class BasicInternalPollVote: IHasIdentity
{
public BasicInternalPollVote (int internalPollVoteId, int internalPollId, string verificationCode)
{
this.InternalPollVoteId = internalPollVoteId;
this.InternalPollId = internalPollId;
this.VerificationCode = verificationCode;
}
public BasicInternalPollVote (BasicInternalPollVote original)
: this (original.InternalPollVoteId, original.InternalPollId, original.VerificationCode)
{
// empty copy ctor
}
public int InternalPollVoteId { get; private set; }
public int InternalPollId { get; private set; }
public string VerificationCode { get; private set; }
#region IHasIdentity Members
public int Identity
{
get { return this.InternalPollVoteId; }
}
#endregion
}
}