add task model
This commit is contained in:
parent
c32f336499
commit
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