Skip to content
Snippets Groups Projects
Commit 1c82d495 authored by Lucas Garrido's avatar Lucas Garrido
Browse files

Merge branch 'pre_master' into implementacion_DtCanal

parents cafe9f7d dfdf60a8
No related branches found
No related tags found
No related merge requests found
/*
* 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 Logica.DataType;
/**
*
* @author pc01
*/
import java.util.Date;
public class DtComentario {
private int id;
private String nickname;
private Date fecha;
private String texto;
private int nivelSubComentario;
public DtComentario(int id, String nickname, Date fecha, String texto, int nivelSubComentario) {
this.id = id;
this.nickname = nickname;
this.fecha = fecha;
this.texto = texto;
this.nivelSubComentario = nivelSubComentario;
}
public int getId() {
return id;
}
public String getNickname() {
return nickname;
}
public Date getFecha() {
return fecha;
}
public String getTexto() {
return texto;
}
public int getNivelSubComentario() {
return nivelSubComentario;
}
}
package Logica.DataType;
import java.util.Date;
public class DtUsuario extends DtPersona{
private String nickname;
private String correo;
private Date fechaNacimiento;
private String imagen;
private int cantSeguidores;
public DtUsuario(String nickname, String correo, Date fechaNacimiento, String imagen, int cantSeguidores) {
this.nickname = nickname;
this.correo = correo;
this.fechaNacimiento = fechaNacimiento;
this.imagen = imagen;
this.cantSeguidores = cantSeguidores;
}
public String getNickname() {
return nickname;
}
public String getCorreo() {
return correo;
}
public Date getFechaNacimiento() {
return fechaNacimiento;
}
public String getImagen() {
return imagen;
}
public int getCantSeguidores() {
return cantSeguidores;
}
}
package Logica.Enumerados;
public enum Privacidad {
PUBLICO, PRIVADO
}
package Logica.Enumerados;
public enum TipoListaDeReproduccion {
POR_DEFECTO, PARTICULAR
}
package Logica.Enumerados;
public enum TipoValoracion {
LIKE, DISLIKE
}
......@@ -4,6 +4,5 @@ public class main {
public static void main(String[] args) {
System.out.println("Hola mundo");
// escriba aqui sus pruebas
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment