Skip to content

Commit

Permalink
Simplify Accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
bdmendes committed Nov 17, 2022
1 parent c5ff3f2 commit 199c08c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 168 deletions.
11 changes: 0 additions & 11 deletions src/main/kotlin/pt/up/fe/ni/website/backend/model/Account.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ import javax.persistence.OneToMany
class Account(
@Column(nullable = false)
val name: String,
val bio: String?,
val birthDate: Date?,
val photo: String?,
val linkedin: String?,
@OneToMany
val websites: List<CustomWebsite>,

val permissions: Long,

@ManyToOne
val role: Role,

@Id @GeneratedValue
val id: Long? = null
Expand Down
14 changes: 0 additions & 14 deletions src/main/kotlin/pt/up/fe/ni/website/backend/model/CustomWebsite.kt

This file was deleted.

98 changes: 0 additions & 98 deletions src/main/kotlin/pt/up/fe/ni/website/backend/model/Permission.kt

This file was deleted.

16 changes: 0 additions & 16 deletions src/main/kotlin/pt/up/fe/ni/website/backend/model/Role.kt

This file was deleted.

29 changes: 0 additions & 29 deletions src/main/kotlin/pt/up/fe/ni/website/backend/util/BitSet.kt

This file was deleted.

0 comments on commit 199c08c

Please sign in to comment.