using System; using System.Collections.Generic; using System.Text; using Activizr.Basic.Interfaces; namespace Activizr.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 } }