ms-tester/internal/models/solution.go

16 lines
431 B
Go
Raw Permalink Normal View History

2024-10-13 14:01:36 +00:00
package models
import "time"
type Solution struct {
Id *int32 `db:"id"`
TaskId *int32 `db:"task_id"`
2024-10-16 19:34:43 +00:00
ParticipantId *int32 `db:"participant_id"`
State *int32 `db:"state"`
2024-10-13 14:01:36 +00:00
Score *int32 `db:"score"`
2024-10-16 19:34:43 +00:00
Penalty *int32 `db:"penalty"`
TotalScore *int32 `db:"total_score"`
Language *int32 `db:"language"`
2024-10-13 14:01:36 +00:00
CreatedAt *time.Time `db:"created_at"`
}