ms-tester/internal/models/problem.go

19 lines
557 B
Go
Raw Permalink Normal View History

2024-10-13 14:01:36 +00:00
package models
import "time"
type Problem struct {
2024-10-16 19:34:43 +00:00
Id *int32 `db:"id"`
Title *string `db:"title"`
Legend *string `db:"legend"`
InputFormat *string `db:"input_format"`
OutputFormat *string `db:"output_format"`
Notes *string `db:"notes"`
Tutorial *string `db:"tutorial"`
LatexSummary *string `db:"latex_summary"`
TimeLimit *int32 `db:"time_limit"`
MemoryLimit *int32 `db:"memory_limit"`
CreatedAt *time.Time `db:"created_at"`
UpdatedAt *time.Time `db:"updated_at"`
2024-10-13 14:01:36 +00:00
}