Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pan14ek committed Aug 5, 2024
1 parent 3abb653 commit 59de64f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

/**
* Entity representing a card.
* Each card has a word, its translation, an optional explanation, an optional explanation translation, and is associated with a card deck.
* Each card has a word, its translation, an optional explanation, an optional explanation
* translation, and is associated with a card deck.
*/
@EqualsAndHashCode(callSuper = true)
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

/**
* Entity representing a card deck.
* Each card deck has a name, an optional description, and is associated with a user and a card topic.
* Each card deck has a name, an optional description, and is associated with a user
* and a card topic.
* A card deck contains multiple cards.
*/
@EqualsAndHashCode(callSuper = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

/**
* A record representing a card model.
* Each card model contains an ID, word, translation, explanation, explanation translation, and the ID of the associated card deck.
* Each card model contains an ID, word, translation, explanation, explanation translation,
* and the ID of the associated card deck.
*/
public record CardModel(
UUID id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

/**
* A record representing a model for creating a new card deck.
* Contains the name of the card deck, the ID of the user who owns the card deck, the card topic, and an optional description.
* Contains the name of the card deck, the ID of the user who owns the card deck,
* the card topic, and an optional description.
*/
public record NewCardDeckModel(String name, UUID userId, CardTopicModel cardTopic,
String description) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

/**
* A record representing a model for creating a new card.
* Contains the word, translation, explanation, explanation translation, and the ID of the associated card deck.
* Contains the word, translation, explanation, explanation translation, and the ID of
* the associated card deck.
*/
public record NewCardModel(
String word,
Expand Down

0 comments on commit 59de64f

Please sign in to comment.