Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Pedro J Sanchez
/
simulaeventos
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ffba0ea3
authored
Mar 24, 2020
by
Pedro J Sanchez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Se añade la clase Registro
parent
3cf792ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
src/main/java/es/uja/cursojee/simulaeventos/Registro.java
src/main/java/es/uja/cursojee/simulaeventos/Registro.java
0 → 100644
View file @
ffba0ea3
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package
es
.
uja
.
cursojee
.
simulaeventos
;
/**
*
* @author pedroj
*/
public
class
Registro
{
private
final
Usuario
usuario
;
private
final
Evento
evento
;
public
Registro
(
Usuario
usuario
,
Evento
evento
)
{
this
.
usuario
=
usuario
;
this
.
evento
=
evento
;
}
public
Usuario
getUsuario
()
{
return
usuario
;
}
public
Evento
getEvento
()
{
return
evento
;
}
@Override
public
String
toString
()
{
return
"Registro{"
+
"usuario="
+
usuario
+
", evento="
+
evento
+
'}'
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment