文章 Poll 类

  • 命名空间: Limyee.Extensibility.Api.Entities.Version1
  • 程序集: Limyee.Api.dll

定义

class Poll
{
	DateTime CreatedDate { get; set;  }
	string Description { get; set;  }
	DateTime? ExpiredDate { get; set;  }
	Guid Id { get; set;  }
	List<PollOption> Options { get;  }
	string Question { get; set;  }
	bool ShowResultsBeforeExpiration { get; set;  }
	bool ShowResultsBeforeVote { get; set;  }
	int UserId { get; set;  }
}

属性

名称

类型

描述

默认值

选项

CreatedDate

DateTime

Description

string

ExpiredDate

DateTime?

Id

Guid

Options

List<PollOption>

Question

string

ShowResultsBeforeExpiration

bool

ShowResultsBeforeVote

bool

UserId

int