|
|
@ -22,7 +22,7 @@ type VotePollDao struct { |
|
|
|
// VotePollColumns defines and stores column names for the table vote_poll.
|
|
|
|
type VotePollColumns struct { |
|
|
|
Id string //
|
|
|
|
PostId string // 文章/视频ID
|
|
|
|
ArticleId string // 文章/视频ID
|
|
|
|
VoteTitle string // 投票活动标题
|
|
|
|
MultiOption string // 是否开启多选:1多选,0不多选
|
|
|
|
DeadlineTime string // 截止时间
|
|
|
@ -34,7 +34,7 @@ type VotePollColumns struct { |
|
|
|
// votePollColumns holds the columns for the table vote_poll.
|
|
|
|
var votePollColumns = VotePollColumns{ |
|
|
|
Id: "id", |
|
|
|
PostId: "post_id", |
|
|
|
ArticleId: "article_id", |
|
|
|
VoteTitle: "vote_title", |
|
|
|
MultiOption: "multi_option", |
|
|
|
DeadlineTime: "deadline_time", |
|
|
|