Skip to content

Commit 4c68dc9

Browse files
chore: add serializable tag do entities
1 parent acf9c4c commit 4c68dc9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/main/kotlin/entity/healthprofessional/HealthProfessionalData.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@
88

99
package entity.healthprofessional
1010

11+
import kotlinx.serialization.Serializable
12+
1113
/**
1214
* Module with all the Health Professionals data.
1315
*/
1416
object HealthProfessionalData {
1517

1618
/** The health professional model. */
19+
@Serializable
1720
data class HealthProfessional(
1821
/** The health professional id. */
1922
val healthProfessionalId: String,

src/main/kotlin/entity/user/User.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ package entity.user
1010

1111
import entity.user.UserData.PASSWORD_MAX_LENGTH
1212
import entity.user.UserData.PASSWORD_MIN_LENGTH
13+
import kotlinx.serialization.Serializable
1314

1415
/** The user of the Smart Operating block System. */
16+
@Serializable
1517
data class User(
1618

1719
/** The identifier of the [User]. */

0 commit comments

Comments
 (0)