ms-tester/pkg/models/solution.go

15 lines
399 B
Go
Raw Normal View History

2024-08-16 11:05:29 +00:00
package models
import "time"
type Solution struct {
Id *int32 `db:"id"`
ParticipantId *int32 `db:"participant_id"`
2024-08-17 12:23:35 +00:00
TaskId *int32 `db:"task_id"`
2024-08-16 11:05:29 +00:00
LanguageId *int32 `db:"language_id"`
SolutionHash *string `db:"solution_hash"`
Result *int32 `db:"result"`
Score *int32 `db:"score"`
2024-08-16 11:05:29 +00:00
CreatedAt *time.Time `db:"created_at"`
}