Skip to content

Commit

Permalink
Create model for groups (#1633)
Browse files Browse the repository at this point in the history
  • Loading branch information
scmet committed Apr 26, 2024
1 parent 5aa8d04 commit 1b0d9c9
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package de.thm.ii.fbs.model

/**
* A group
* @param id The id of the group
* @param courseId course to which the group belongs
* @param name Name of the group
* @param membership The max number of members
* @param visible The visibility of the group, false = invisible
*/

case class Group(id: Int, courseId: Int, name: String, membership: Int, visible: Boolean = true)

0 comments on commit 1b0d9c9

Please sign in to comment.