Skip to content

Commit

Permalink
chore: add serializable tag do entities
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora committed Feb 26, 2023
1 parent acf9c4c commit 4c68dc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@

package entity.healthprofessional

import kotlinx.serialization.Serializable

/**
* Module with all the Health Professionals data.
*/
object HealthProfessionalData {

/** The health professional model. */
@Serializable
data class HealthProfessional(
/** The health professional id. */
val healthProfessionalId: String,
Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/entity/user/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ package entity.user

import entity.user.UserData.PASSWORD_MAX_LENGTH
import entity.user.UserData.PASSWORD_MIN_LENGTH
import kotlinx.serialization.Serializable

/** The user of the Smart Operating block System. */
@Serializable
data class User(

/** The identifier of the [User]. */
Expand Down

0 comments on commit 4c68dc9

Please sign in to comment.