ms-tester/internal/models/task.go

13 lines
282 B
Go
Raw Normal View History

2024-10-13 14:01:36 +00:00
package models
2024-10-16 19:34:43 +00:00
import "time"
2024-10-13 14:01:36 +00:00
type Task struct {
2024-10-16 19:34:43 +00:00
Id *int32 `db:"id"`
ProblemId *int32 `db:"problem_id"`
ContestId *int32 `db:"contest_id"`
Position *int32 `db:"position"`
CreatedAt *time.Time `db:"created_at"`
UpdatedAt *time.Time `db:"updated_at"`
2024-10-13 14:01:36 +00:00
}