Initial structure for the votes
This commit is contained in:
7
server/models/vote.go
Normal file
7
server/models/vote.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package models
|
||||
|
||||
type Vote struct {
|
||||
PollID int `json:"poll_id"`
|
||||
OptionIndex int `json:"option_index"`
|
||||
IsMember bool `json:"is_member"`
|
||||
}
|
||||
Reference in New Issue
Block a user