ms-tester/internal/models/solution.go
2024-10-17 00:34:43 +05:00

16 lines
431 B
Go

package models
import "time"
type Solution struct {
Id *int32 `db:"id"`
TaskId *int32 `db:"task_id"`
ParticipantId *int32 `db:"participant_id"`
State *int32 `db:"state"`
Score *int32 `db:"score"`
Penalty *int32 `db:"penalty"`
TotalScore *int32 `db:"total_score"`
Language *int32 `db:"language"`
CreatedAt *time.Time `db:"created_at"`
}