Class Registration
java.lang.Object
net.andresbustamante.yafoot.core.model.Registration
- All Implemented Interfaces:
Serializable
,net.andresbustamante.yafoot.commons.model.Auditable
,net.andresbustamante.yafoot.commons.model.Identifiable<RegistrationId>
public final class Registration
extends Object
implements net.andresbustamante.yafoot.commons.model.Identifiable<RegistrationId>, Serializable, net.andresbustamante.yafoot.commons.model.Auditable
Registration from a player to a match.
- Author:
- andresbustamante
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRegistration
(int matchId, int playerId) Constructor for testing purposes only.Constructor for testing purposes only. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.andresbustamante.yafoot.commons.model.Auditable
getCreationDate, getModificationDate
Methods inherited from interface net.andresbustamante.yafoot.commons.model.Identifiable
getId
-
Constructor Details
-
Registration
Constructor for testing purposes only.- Parameters:
id
- Registration ID
-
Registration
public Registration(int matchId, int playerId) Constructor for testing purposes only.- Parameters:
matchId
- Match IDplayerId
- Player ID
-