diff --git a/src/main/java/dbp/hackathon/Estudiante/Estudiante.java b/src/main/java/dbp/hackathon/Estudiante/Estudiante.java deleted file mode 100644 index 842e5fb..0000000 --- a/src/main/java/dbp/hackathon/Estudiante/Estudiante.java +++ /dev/null @@ -1,31 +0,0 @@ -package dbp.hackathon.Estudiante; - -import com.fasterxml.jackson.annotation.JsonBackReference; -import dbp.hackathon.Ticket.Ticket; -import jakarta.persistence.*; -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; - -import java.util.List; - -@Entity -@AllArgsConstructor -@NoArgsConstructor -@Setter -@Getter -public class Estudiante { - - @Id - @GeneratedValue(strategy = GenerationType.IDENTITY) - private Long id; - - private String name; - private String email; - private Long studentCode; - - @JsonBackReference - @OneToMany(mappedBy = "estudiante") - private List tickets; -} diff --git a/src/main/java/dbp/hackathon/Estudiante/EstudianteController.java b/src/main/java/dbp/hackathon/Estudiante/EstudianteController.java deleted file mode 100644 index 420f21f..0000000 --- a/src/main/java/dbp/hackathon/Estudiante/EstudianteController.java +++ /dev/null @@ -1,50 +0,0 @@ -package dbp.hackathon.Estudiante; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.ResponseEntity; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.*; - -@Controller -@RequestMapping("/estudiante") -public class EstudianteController { - - @Autowired - private EstudianteService estudianteService; - - @GetMapping("/hola") - public ResponseEntity hola() { - return ResponseEntity.ok("Hola Mundo, dbp esta en la casa"); - } - - @PostMapping - public ResponseEntity save(@RequestBody Estudiante estudiante) { - return ResponseEntity.ok(estudianteService.save(estudiante)); - } - - @GetMapping("/{id}") - public ResponseEntity findById(@PathVariable Long id) { - return ResponseEntity.ok(estudianteService.findById(id)); - } - - @DeleteMapping("/{id}") - public ResponseEntity deleteById(@PathVariable Long id) { - estudianteService.deleteById(id); - return ResponseEntity.ok().build(); - } - - @GetMapping - public ResponseEntity> findAll() { - return ResponseEntity.ok(estudianteService.findAll()); - } - - @PutMapping("/{id}") - public ResponseEntity replaceEstudiante(@RequestBody Estudiante newEstudiante, @PathVariable Long id) { - return ResponseEntity.ok(estudianteService.replaceEstudiante(newEstudiante, id)); - } - - @PatchMapping("/{id}") - public ResponseEntity updateParcialEstudiante(@RequestBody Estudiante newEstudiante, @PathVariable Long id) { - return ResponseEntity.ok(estudianteService.updateParcialEstudiante(newEstudiante, id)); - } -} diff --git a/src/main/java/dbp/hackathon/Estudiante/EstudianteRepository.java b/src/main/java/dbp/hackathon/Estudiante/EstudianteRepository.java deleted file mode 100644 index d897207..0000000 --- a/src/main/java/dbp/hackathon/Estudiante/EstudianteRepository.java +++ /dev/null @@ -1,8 +0,0 @@ -package dbp.hackathon.Estudiante; - -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface EstudianteRepository extends JpaRepository { -} diff --git a/src/main/java/dbp/hackathon/Estudiante/EstudianteService.java b/src/main/java/dbp/hackathon/Estudiante/EstudianteService.java deleted file mode 100644 index 8b79270..0000000 --- a/src/main/java/dbp/hackathon/Estudiante/EstudianteService.java +++ /dev/null @@ -1,61 +0,0 @@ -package dbp.hackathon.Estudiante; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class EstudianteService { - - @Autowired - private EstudianteRepository estudianteRepository; - - Estudiante save(Estudiante estudiante) { - return estudianteRepository.save(estudiante); - } - - Estudiante findById(Long id) { - return estudianteRepository.findById(id).orElse(null); - } - - void deleteById(Long id) { - estudianteRepository.deleteById(id); - } - - Iterable findAll() { - return estudianteRepository.findAll(); - } - - Estudiante replaceEstudiante(Estudiante newEstudiante, Long id) { - return estudianteRepository.findById(id) - .map(estudiante -> { - estudiante.setName(newEstudiante.getName()); - estudiante.setEmail(newEstudiante.getEmail()); - estudiante.setStudentCode(newEstudiante.getStudentCode()); - return estudianteRepository.save(estudiante); - }) - .orElseGet(() -> { - return estudianteRepository.save(newEstudiante); - }); - } - - - Estudiante updateParcialEstudiante(Estudiante newEstudiante, Long id) { - return estudianteRepository.findById(id) - .map(estudiante -> { - if (newEstudiante.getName() != null) { - estudiante.setName(newEstudiante.getName()); - } - if (newEstudiante.getEmail() != null) { - estudiante.setEmail(newEstudiante.getEmail()); - } - if (newEstudiante.getStudentCode() != null) { - estudiante.setStudentCode(newEstudiante.getStudentCode()); - } - return estudianteRepository.save(estudiante); - }) - .orElseGet(() -> { - newEstudiante.setId(id); - return estudianteRepository.save(newEstudiante); - }); - } -} diff --git a/src/main/java/dbp/hackathon/Funcion/Funcion.java b/src/main/java/dbp/hackathon/Funcion/Funcion.java deleted file mode 100644 index f8b02e0..0000000 --- a/src/main/java/dbp/hackathon/Funcion/Funcion.java +++ /dev/null @@ -1,41 +0,0 @@ -package dbp.hackathon.Funcion; - -import com.fasterxml.jackson.annotation.JsonBackReference; -import dbp.hackathon.Ticket.Ticket; -import jakarta.persistence.*; -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; - -import java.time.LocalDateTime; -import java.util.List; - -@Entity -@NoArgsConstructor -@AllArgsConstructor -@Setter -@Getter -public class Funcion { - - @Id - @GeneratedValue(strategy = GenerationType.IDENTITY) - private Long id; - - private String nombre; - - private String descripcion; - - private LocalDateTime fecha; - - private Integer duracion; - - private Double precio; - - private Integer stock; - - @JsonBackReference - @OneToMany(mappedBy = "funcion") - private List tickets; - -} diff --git a/src/main/java/dbp/hackathon/Funcion/FuncionController.java b/src/main/java/dbp/hackathon/Funcion/FuncionController.java deleted file mode 100644 index b9d1019..0000000 --- a/src/main/java/dbp/hackathon/Funcion/FuncionController.java +++ /dev/null @@ -1,51 +0,0 @@ -package dbp.hackathon.Funcion; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.ResponseEntity; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.*; - -@Controller -@RequestMapping("/funcion") -public class FuncionController { - - @Autowired - private FuncionService funcionService; - - @PostMapping - public ResponseEntity saveFuncion(@RequestBody Funcion funcion) { - return ResponseEntity.ok(funcionService.saveFuncion(funcion)); - } - - @GetMapping("/{id}") - public ResponseEntity getFuncionById(@PathVariable Long id) { - return ResponseEntity.ok(funcionService.getFuncionById(id)); - } - - @DeleteMapping("/{id}") - public ResponseEntity deleteFuncion(@PathVariable Long id) { - funcionService.deleteFuncion(id); - return ResponseEntity.ok().build(); - } - - @PutMapping("/{id}") - public ResponseEntity replaceFuncion(@PathVariable Long id, @RequestBody Funcion funcion) { - return ResponseEntity.ok(funcionService.replaceFuncion(id, funcion)); - } - - @PatchMapping("/{id}") - public ResponseEntity updateFuncion(@PathVariable Long id, @RequestBody Funcion funcion) { - return ResponseEntity.ok(funcionService.updateFuncion(id, funcion)); - } - - @GetMapping("/{id}/earnings") - public ResponseEntity getTotalEarnings(@PathVariable Long id) { - try { - double earnings = funcionService.calculateTotalEarnings(id); - return ResponseEntity.ok(earnings); - } catch (RuntimeException e) { - return ResponseEntity.notFound().build(); - } - } - -} diff --git a/src/main/java/dbp/hackathon/Funcion/FuncionRepository.java b/src/main/java/dbp/hackathon/Funcion/FuncionRepository.java deleted file mode 100644 index f6e9e0d..0000000 --- a/src/main/java/dbp/hackathon/Funcion/FuncionRepository.java +++ /dev/null @@ -1,6 +0,0 @@ -package dbp.hackathon.Funcion; - -import org.springframework.data.jpa.repository.JpaRepository; - -public interface FuncionRepository extends JpaRepository { -} diff --git a/src/main/java/dbp/hackathon/Funcion/FuncionService.java b/src/main/java/dbp/hackathon/Funcion/FuncionService.java deleted file mode 100644 index b248a7e..0000000 --- a/src/main/java/dbp/hackathon/Funcion/FuncionService.java +++ /dev/null @@ -1,81 +0,0 @@ -package dbp.hackathon.Funcion; - -import dbp.hackathon.Ticket.TicketRepository; -import dbp.hackathon.Ticket.TicketService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class FuncionService { - - @Autowired - private FuncionRepository funcionRepository; - - @Autowired - private TicketRepository ticketRepository; - - public Funcion saveFuncion(Funcion funcion) { - return funcionRepository.save(funcion); - } - - public Funcion getFuncionById(Long id) { - return funcionRepository.findById(id).orElse(null); - } - - public void deleteFuncion(Long id) { - funcionRepository.deleteById(id); - } - - public Funcion replaceFuncion(Long id, Funcion funcion) { - return funcionRepository.findById(id) - .map(f -> { - f.setNombre(funcion.getNombre()); - f.setDescripcion(funcion.getDescripcion()); - f.setFecha(funcion.getFecha()); - f.setDuracion(funcion.getDuracion()); - f.setPrecio(funcion.getPrecio()); - f.setStock(funcion.getStock()); - return funcionRepository.save(f); - }) - .orElseGet(() -> { - funcion.setId(id); - return funcionRepository.save(funcion); - }); - } - - public Funcion updateFuncion(Long id, Funcion funcion) { - return funcionRepository.findById(id) - .map(f -> { - if (funcion.getNombre() != null) { - f.setNombre(funcion.getNombre()); - } - if (funcion.getDescripcion() != null) { - f.setDescripcion(funcion.getDescripcion()); - } - if (funcion.getFecha() != null) { - f.setFecha(funcion.getFecha()); - } - if (funcion.getDuracion() != null) { - f.setDuracion(funcion.getDuracion()); - } - if (funcion.getPrecio() != null) { - f.setPrecio(funcion.getPrecio()); - } - if (funcion.getStock() != null) { - f.setStock(funcion.getStock()); - } - return funcionRepository.save(f); - }) - .orElseGet(() -> { - funcion.setId(id); - return funcionRepository.save(funcion); - }); - } - - public double calculateTotalEarnings(Long funcionId) { - Funcion funcion = funcionRepository.findById(funcionId).orElseThrow(() -> new RuntimeException("Funcion not found")); - return funcion.getTickets().stream() - .mapToDouble(ticket -> ticket.getCantidad() * funcion.getPrecio()) - .sum(); - } -} diff --git a/src/main/java/dbp/hackathon/HackathonApplication.java b/src/main/java/dbp/hackathon/HackathonApplication.java deleted file mode 100644 index ff8a996..0000000 --- a/src/main/java/dbp/hackathon/HackathonApplication.java +++ /dev/null @@ -1,13 +0,0 @@ -package dbp.hackathon; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -@SpringBootApplication -public class HackathonApplication { - - public static void main(String[] args) { - SpringApplication.run(HackathonApplication.class, args); - } - -} diff --git a/src/main/java/dbp/hackathon/Ticket/Estado.java b/src/main/java/dbp/hackathon/Ticket/Estado.java deleted file mode 100644 index 18d6d96..0000000 --- a/src/main/java/dbp/hackathon/Ticket/Estado.java +++ /dev/null @@ -1,6 +0,0 @@ -package dbp.hackathon.Ticket; - -public enum Estado { - CANJEADO, - VENDIDO -} diff --git a/src/main/java/dbp/hackathon/Ticket/Ticket.java b/src/main/java/dbp/hackathon/Ticket/Ticket.java deleted file mode 100644 index 63e682e..0000000 --- a/src/main/java/dbp/hackathon/Ticket/Ticket.java +++ /dev/null @@ -1,44 +0,0 @@ -package dbp.hackathon.Ticket; - -import com.fasterxml.jackson.annotation.JsonIdentityInfo; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.ObjectIdGenerators; -import dbp.hackathon.Estudiante.Estudiante; -import dbp.hackathon.Funcion.Funcion; -import jakarta.persistence.*; -import lombok.AllArgsConstructor; -import lombok.Getter; -import lombok.NoArgsConstructor; -import lombok.Setter; - -import java.time.LocalDateTime; - -@Entity -@NoArgsConstructor -@AllArgsConstructor -@Setter -@Getter -@JsonIdentityInfo( - generator = ObjectIdGenerators.PropertyGenerator.class, - property = "id" -) -public class Ticket { - @Id - @GeneratedValue(strategy = GenerationType.IDENTITY) - private Long id; - - private String qr; - private Estado estado; - - @ManyToOne - @JoinColumn(name = "funcion_id") - private Funcion funcion; - - @ManyToOne - @JoinColumn(name = "estudiante_id") - private Estudiante estudiante; - - private LocalDateTime fechaCompra; - private Integer cantidad; -} - diff --git a/src/main/java/dbp/hackathon/Ticket/TicketController.java b/src/main/java/dbp/hackathon/Ticket/TicketController.java deleted file mode 100644 index e26c62a..0000000 --- a/src/main/java/dbp/hackathon/Ticket/TicketController.java +++ /dev/null @@ -1,55 +0,0 @@ -package dbp.hackathon.Ticket; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.*; - -@RestController -@RequestMapping("/tickets") -public class TicketController { - - @Autowired - private TicketService ticketService; - - @PostMapping - public ResponseEntity createTicket(@RequestBody TicketRequest request) { - Ticket newTicket = ticketService.createTicket(request.getEstudianteId(), request.getFuncionId(), request.getCantidad()); - return ResponseEntity.ok(newTicket); - } - - @GetMapping("/{id}") - public ResponseEntity getTicketById(@PathVariable Long id) { - Ticket ticket = ticketService.findById(id); - if (ticket == null) { - return ResponseEntity.notFound().build(); - } - return ResponseEntity.ok(ticket); - } - - @GetMapping("/estudiante/{estudianteId}") - public ResponseEntity> getTicketsByEstudianteId(@PathVariable Long estudianteId) { - Iterable tickets = ticketService.findByEstudianteId(estudianteId); - return ResponseEntity.ok(tickets); - } - - @PatchMapping("/{id}/changeState") - public ResponseEntity changeTicketState(@PathVariable Long id) { - try { - ticketService.changeState(id); - return ResponseEntity.ok().build(); - } catch (IllegalStateException e) { - return ResponseEntity.notFound().build(); - } - } - - @DeleteMapping("/{id}") - public ResponseEntity deleteTicket(@PathVariable Long id) { - ticketService.deleteById(id); - return ResponseEntity.ok().build(); - } - - @GetMapping - public ResponseEntity> getAllTickets() { - return ResponseEntity.ok(ticketService.findAll()); - } -} diff --git a/src/main/java/dbp/hackathon/Ticket/TicketRepository.java b/src/main/java/dbp/hackathon/Ticket/TicketRepository.java deleted file mode 100644 index ba98bd0..0000000 --- a/src/main/java/dbp/hackathon/Ticket/TicketRepository.java +++ /dev/null @@ -1,9 +0,0 @@ -package dbp.hackathon.Ticket; - -import org.springframework.data.jpa.repository.JpaRepository; -import org.springframework.stereotype.Repository; - -@Repository -public interface TicketRepository extends JpaRepository { - Iterable findByEstudianteId(Long estudianteId); -} diff --git a/src/main/java/dbp/hackathon/Ticket/TicketRequest.java b/src/main/java/dbp/hackathon/Ticket/TicketRequest.java deleted file mode 100644 index 3d8e10a..0000000 --- a/src/main/java/dbp/hackathon/Ticket/TicketRequest.java +++ /dev/null @@ -1,31 +0,0 @@ -package dbp.hackathon.Ticket; - -public class TicketRequest { - private Long estudianteId; - private Long funcionId; - private Integer cantidad; - - public Long getEstudianteId() { - return estudianteId; - } - - public void setEstudianteId(Long estudianteId) { - this.estudianteId = estudianteId; - } - - public Long getFuncionId() { - return funcionId; - } - - public void setFuncionId(Long funcionId) { - this.funcionId = funcionId; - } - - public Integer getCantidad() { - return cantidad; - } - - public void setCantidad(Integer cantidad) { - this.cantidad = cantidad; - } -} diff --git a/src/main/java/dbp/hackathon/Ticket/TicketService.java b/src/main/java/dbp/hackathon/Ticket/TicketService.java deleted file mode 100644 index ec74a47..0000000 --- a/src/main/java/dbp/hackathon/Ticket/TicketService.java +++ /dev/null @@ -1,66 +0,0 @@ -package dbp.hackathon.Ticket; - -import dbp.hackathon.Estudiante.Estudiante; -import dbp.hackathon.Estudiante.EstudianteRepository; -import dbp.hackathon.Funcion.Funcion; -import dbp.hackathon.Funcion.FuncionRepository; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import java.time.LocalDateTime; - -@Service -public class TicketService { - - @Autowired - private TicketRepository ticketRepository; - - @Autowired - private EstudianteRepository estudianteRepository; - - @Autowired - private FuncionRepository funcionRepository; - - public Ticket createTicket(Long estudianteId, Long funcionId, Integer cantidad) { - Estudiante estudiante = estudianteRepository.findById(estudianteId).orElse(null); - Funcion funcion = funcionRepository.findById(funcionId).orElse(null); - if (estudiante == null || funcion == null) { - throw new IllegalStateException("Estudiante or Funcion not found!"); - } - - Ticket ticket = new Ticket(); - ticket.setEstudiante(estudiante); - ticket.setFuncion(funcion); - ticket.setCantidad(cantidad); - ticket.setEstado(Estado.VENDIDO); - ticket.setFechaCompra(LocalDateTime.now()); - ticket.setQr("GENERATED-QR-CODE"); - - return ticketRepository.save(ticket); - } - - public Ticket findById(Long id) { - return ticketRepository.findById(id).orElse(null); - } - - public void deleteById(Long id) { - ticketRepository.deleteById(id); - } - - public Iterable findAll() { - return ticketRepository.findAll(); - } - - public Iterable findByEstudianteId(Long estudianteId) { - return ticketRepository.findByEstudianteId(estudianteId); - } - - public void changeState(Long id) { - Ticket ticket = ticketRepository.findById(id).orElse(null); - if (ticket == null) { - throw new IllegalStateException("Ticket not found!"); - } - ticket.setEstado(Estado.CANJEADO); - ticketRepository.save(ticket); - } - -} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index 3286162..0000000 --- a/src/main/resources/application.properties +++ /dev/null @@ -1,7 +0,0 @@ -spring.datasource.url=jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME} -spring.datasource.username=${DB_USERNAME} -spring.datasource.password=${DB_PASSWORD} -spring.jpa.hibernate.ddl-auto=update -spring.jpa.show-sql=true -spring.datasource.driver-class-name=org.postgresql.Driver -spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect diff --git a/src/test/java/dbp/hackathon/HackathonApplicationTests.java b/src/test/java/dbp/hackathon/HackathonApplicationTests.java deleted file mode 100644 index ee8b3e6..0000000 --- a/src/test/java/dbp/hackathon/HackathonApplicationTests.java +++ /dev/null @@ -1,10 +0,0 @@ -package dbp.hackathon; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -@SpringBootTest -class HackathonApplicationTests { - - -} diff --git a/target/classes/application.properties b/target/classes/application.properties deleted file mode 100644 index 3286162..0000000 --- a/target/classes/application.properties +++ /dev/null @@ -1,7 +0,0 @@ -spring.datasource.url=jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME} -spring.datasource.username=${DB_USERNAME} -spring.datasource.password=${DB_PASSWORD} -spring.jpa.hibernate.ddl-auto=update -spring.jpa.show-sql=true -spring.datasource.driver-class-name=org.postgresql.Driver -spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect diff --git a/target/classes/dbp/hackathon/Estudiante/Estudiante.class b/target/classes/dbp/hackathon/Estudiante/Estudiante.class deleted file mode 100644 index 612f6b3..0000000 Binary files a/target/classes/dbp/hackathon/Estudiante/Estudiante.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Estudiante/EstudianteController.class b/target/classes/dbp/hackathon/Estudiante/EstudianteController.class deleted file mode 100644 index a315727..0000000 Binary files a/target/classes/dbp/hackathon/Estudiante/EstudianteController.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Estudiante/EstudianteRepository.class b/target/classes/dbp/hackathon/Estudiante/EstudianteRepository.class deleted file mode 100644 index badda68..0000000 Binary files a/target/classes/dbp/hackathon/Estudiante/EstudianteRepository.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Estudiante/EstudianteService.class b/target/classes/dbp/hackathon/Estudiante/EstudianteService.class deleted file mode 100644 index 61c1f27..0000000 Binary files a/target/classes/dbp/hackathon/Estudiante/EstudianteService.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Funcion/Funcion.class b/target/classes/dbp/hackathon/Funcion/Funcion.class deleted file mode 100644 index 9812de7..0000000 Binary files a/target/classes/dbp/hackathon/Funcion/Funcion.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Funcion/FuncionController.class b/target/classes/dbp/hackathon/Funcion/FuncionController.class deleted file mode 100644 index fffe8ad..0000000 Binary files a/target/classes/dbp/hackathon/Funcion/FuncionController.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Funcion/FuncionRepository.class b/target/classes/dbp/hackathon/Funcion/FuncionRepository.class deleted file mode 100644 index ee4ed06..0000000 Binary files a/target/classes/dbp/hackathon/Funcion/FuncionRepository.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Funcion/FuncionService.class b/target/classes/dbp/hackathon/Funcion/FuncionService.class deleted file mode 100644 index 268a9ed..0000000 Binary files a/target/classes/dbp/hackathon/Funcion/FuncionService.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/HackathonApplication.class b/target/classes/dbp/hackathon/HackathonApplication.class deleted file mode 100644 index aa6d205..0000000 Binary files a/target/classes/dbp/hackathon/HackathonApplication.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Ticket/Estado.class b/target/classes/dbp/hackathon/Ticket/Estado.class deleted file mode 100644 index dc3673a..0000000 Binary files a/target/classes/dbp/hackathon/Ticket/Estado.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Ticket/Ticket.class b/target/classes/dbp/hackathon/Ticket/Ticket.class deleted file mode 100644 index 87d8816..0000000 Binary files a/target/classes/dbp/hackathon/Ticket/Ticket.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Ticket/TicketController.class b/target/classes/dbp/hackathon/Ticket/TicketController.class deleted file mode 100644 index f2444e3..0000000 Binary files a/target/classes/dbp/hackathon/Ticket/TicketController.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Ticket/TicketRepository.class b/target/classes/dbp/hackathon/Ticket/TicketRepository.class deleted file mode 100644 index 75e92de..0000000 Binary files a/target/classes/dbp/hackathon/Ticket/TicketRepository.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Ticket/TicketRequest.class b/target/classes/dbp/hackathon/Ticket/TicketRequest.class deleted file mode 100644 index 9691ee3..0000000 Binary files a/target/classes/dbp/hackathon/Ticket/TicketRequest.class and /dev/null differ diff --git a/target/classes/dbp/hackathon/Ticket/TicketService.class b/target/classes/dbp/hackathon/Ticket/TicketService.class deleted file mode 100644 index ca011f7..0000000 Binary files a/target/classes/dbp/hackathon/Ticket/TicketService.class and /dev/null differ diff --git a/target/hackathon-0.0.1-SNAPSHOT.jar b/target/hackathon-0.0.1-SNAPSHOT.jar deleted file mode 100644 index f7cd34d..0000000 Binary files a/target/hackathon-0.0.1-SNAPSHOT.jar and /dev/null differ diff --git a/target/hackathon-0.0.1-SNAPSHOT.jar.original b/target/hackathon-0.0.1-SNAPSHOT.jar.original deleted file mode 100644 index e6caf90..0000000 Binary files a/target/hackathon-0.0.1-SNAPSHOT.jar.original and /dev/null differ diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties deleted file mode 100644 index e69e4bb..0000000 --- a/target/maven-archiver/pom.properties +++ /dev/null @@ -1,3 +0,0 @@ -artifactId=hackathon -groupId=dbp -version=0.0.1-SNAPSHOT diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst deleted file mode 100644 index 9e27ea7..0000000 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ /dev/null @@ -1,15 +0,0 @@ -dbp\hackathon\Ticket\Estado.class -dbp\hackathon\Estudiante\EstudianteRepository.class -dbp\hackathon\Funcion\FuncionRepository.class -dbp\hackathon\Estudiante\EstudianteController.class -dbp\hackathon\HackathonApplication.class -dbp\hackathon\Ticket\Ticket.class -dbp\hackathon\Funcion\FuncionController.class -dbp\hackathon\Ticket\TicketService.class -dbp\hackathon\Estudiante\EstudianteService.class -dbp\hackathon\Ticket\TicketRequest.class -dbp\hackathon\Funcion\Funcion.class -dbp\hackathon\Funcion\FuncionService.class -dbp\hackathon\Ticket\TicketController.class -dbp\hackathon\Estudiante\Estudiante.class -dbp\hackathon\Ticket\TicketRepository.class diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst deleted file mode 100644 index f29ee50..0000000 --- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ /dev/null @@ -1,15 +0,0 @@ -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Funcion\Funcion.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\HackathonApplication.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Estudiante\EstudianteController.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Estudiante\EstudianteRepository.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Estudiante\EstudianteService.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Funcion\FuncionController.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Funcion\FuncionRepository.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Estudiante\Estudiante.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Ticket\Estado.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Ticket\Ticket.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Funcion\FuncionService.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Ticket\TicketController.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Ticket\TicketRequest.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Ticket\TicketRepository.java -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\main\java\dbp\hackathon\Ticket\TicketService.java diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst deleted file mode 100644 index e121793..0000000 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst +++ /dev/null @@ -1 +0,0 @@ -dbp\hackathon\HackathonApplicationTests.class diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst deleted file mode 100644 index 2e23228..0000000 --- a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +++ /dev/null @@ -1 +0,0 @@ -C:\Users\lords\IdeaProjects\Hackathon1-20241\src\test\java\dbp\hackathon\HackathonApplicationTests.java diff --git a/target/test-classes/dbp/hackathon/HackathonApplicationTests.class b/target/test-classes/dbp/hackathon/HackathonApplicationTests.class deleted file mode 100644 index 97ab954..0000000 Binary files a/target/test-classes/dbp/hackathon/HackathonApplicationTests.class and /dev/null differ