add task model

This commit is contained in:
dragonmuffin 2024-08-16 22:09:56 +05:00
parent c32f336499
commit bf031b1260

9
internal/models/task.go Normal file
View 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"`
}