From b05a4d56597d258ef43bb1102acff72144c44318 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 26 Nov 2024 15:55:50 -0800 Subject: [PATCH] modify Submission struct --- pkg/model/submission.go | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkg/model/submission.go b/pkg/model/submission.go index 36ca80c..aa72d25 100644 --- a/pkg/model/submission.go +++ b/pkg/model/submission.go @@ -3,9 +3,15 @@ package model import "time" type Submission struct { - ID int64 - DisplayName string - Creator string - GameID int32 - Date time.Time + ID int64 + DisplayName string + Creator string + GameID int32 + Date time.Time + Submitter int64 // UserID + AssetID int64 + AssetVersion int64 + Completed bool + TargetAssetID int64 // where to upload map fix. if the TargetAssetID is 0, it's a new map. + StatusID int32 }