Class Submission

java.lang.Object
me.nickhanson.codeforge.entity.Submission

@Entity public class Submission extends Object
Represents a Submission entity, which tracks the outcome of a user's attempt to solve a Challenge. This entity includes fields for the associated Challenge, the result of the submission, and optional solution code.
Author:
Nick Hanson
  • Constructor Details

    • Submission

      public Submission(Challenge challenge, Outcome outcome, String code)
      Constructs a new Submission with the specified challenge, outcome, and optional code.
      Parameters:
      challenge - The Challenge associated with this submission.
      outcome - The outcome of the submission.
      code - Optional solution code for the submission.