Skip to content

Commit

Permalink
feat: Implement feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bouceka committed Oct 31, 2022
1 parent eb5ba85 commit bc4beb2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.bouceka.player.dto
import com.bouceka.player.models.Coordinator
import com.bouceka.player.models.Image

class UpdateTeamDto(
class UpdateRegistrationDto(
val name: String,
val matchDay: String,
val season: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.bouceka.player.entity
package com.bouceka.registration.entity

import io.micronaut.data.annotation.GeneratedValue
import io.micronaut.data.annotation.Id
import io.micronaut.data.annotation.MappedEntity

@MappedEntity
data class PlayerEntity(
data class Player(
@field:Id
@field:GeneratedValue(GeneratedValue.Type.UUID)
var id: String,
var notes: String,
var userId: String
var user: String
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ package com.bouceka.registration.entity
import io.micronaut.data.annotation.GeneratedValue
import io.micronaut.data.annotation.Id
import io.micronaut.data.annotation.MappedEntity
import java.util.UUID

@MappedEntity
data class RegistrationEntity(
data class Registration(
@field:Id
@field:GeneratedValue(GeneratedValue.Type.UUID)
var id: String,
val matchDay: String,
val status: String, // TODO: Create enum
val Player: String,
val proficiency: String,
var id: UUID,
var matchDay: String,
var status: String, // TODO: Create enum
var proficiency_id: UUID,
var user_id: UUID,
)

This file was deleted.

This file was deleted.

0 comments on commit bc4beb2

Please sign in to comment.