Assignee

data class Assignee: Any

Represents an Assignee of an Assignment. Some assignments are private in the sense that they can only be accessed by students that were given a certain permission. This "role" of Assignee represents that permission.

Fields

Name Description
val id: Long

is primary-key like generated value

val assignmentId: String

is a String, identifying the Assignment

val authorUserId: String

is a String, corresponding to the author's user id (e.g. student number)

Constructors

<init>

constructor(id: Long, assignmentId: String, authorUserId: String)

Represents an Assignee of an Assignment. Some assignments are private in the sense that they can only be accessed by students that were given a certain permission. This "role" of Assignee represents that permission.

Parameters

Name Description
id: Long
assignmentId: String
authorUserId: String