initial commits

master
Charles Iliya Krempeaux 2023-09-26 18:45:44 +09:00
parent 2dfad99834
commit 0cb619709c
1 changed files with 12 additions and 0 deletions

12
ent/polloption.go 100644
View File

@ -0,0 +1,12 @@
package ent
import (
"sourcecode.social/reiver/go-jsonint"
"sourcecode.social/reiver/go-opt"
"sourcecode.social/reiver/go-nul"
)
type PollOption struct {
Title opt.Optional[string] `json:"title"`
VotesCount nul.Nullable[jsonint.Int] `json:"votes_count"`
}