34 lines
1019 B
C#
34 lines
1019 B
C#
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
|
|
}
|
|
}
|