Compare commits
2 commits
d4ae5011b3
...
f2f1beeec9
Author | SHA1 | Date | |
---|---|---|---|
|
f2f1beeec9 | ||
|
bf031b1260 |
1 changed files with 9 additions and 0 deletions
9
internal/models/task.go
Normal file
9
internal/models/task.go
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package models
|
||||||
|
|
||||||
|
type Task struct {
|
||||||
|
Id *int32 `db:"id"`
|
||||||
|
ContestId *int32 `db:"contest_id"`
|
||||||
|
ProblemId *int32 `db:"problem_id"`
|
||||||
|
Position *int32 `db:"position"`
|
||||||
|
position_name *string `db:"position_name"`
|
||||||
|
}
|
Loading…
Reference in a new issue