Class CreatePollDto
Inheritance
CreatePollDto
Assembly: Volo.CmsKit.Pro.Admin.Application.Contracts.dll
Syntax
public class CreatePollDto : ExtensibleObject, IHasExtraProperties, IValidatableObject
Constructors
CreatePollDto()
Declaration
Properties
AllowMultipleVote
Declaration
public bool AllowMultipleVote { get; set; }
Property Value
Code
Declaration
[Required]
[DynamicMaxLength(typeof(PollConst), "MaxCodeLength")]
public string Code { get; set; }
Property Value
EndDate
Declaration
public DateTime? EndDate { get; set; }
Property Value
Name
Declaration
[DynamicMaxLength(typeof(PollConst), "MaxNameLength")]
public string Name { get; set; }
Property Value
PollOptions
Declaration
public Collection<PollOptionDto> PollOptions { get; set; }
Property Value
Question
Declaration
[Required]
[DynamicMaxLength(typeof(PollConst), "MaxQuestionLength")]
public string Question { get; set; }
Property Value
ResultShowingEndDate
Declaration
public DateTime? ResultShowingEndDate { get; set; }
Property Value
ShowHoursLeft
Declaration
public bool ShowHoursLeft { get; set; }
Property Value
ShowResultWithoutGivingVote
Declaration
public bool ShowResultWithoutGivingVote { get; set; }
Property Value
ShowVoteCount
Declaration
public bool ShowVoteCount { get; set; }
Property Value
StartDate
Declaration
public DateTime StartDate { get; set; }
Property Value
Declaration
[DynamicMaxLength(typeof(PollConst), "MaxWidgetNameLength")]
public string Widget { get; set; }
Property Value
Implements
Extension Methods