Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <unistd.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <sys/shm.h>
#include <unistd.h>
#include <stdlib.h>
struct bufor {
package bookrental.account;
import bookrental.bookrentals.BookRentals;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Optional;
interface AccountRepository {
Account findById(Id id);
}
package bookrental.controller.penalty;
import bookrental.service.penalty.PenaltyPaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class PenaltyController {
package bookrental.model.book;
import lombok.*;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
@Getter
@Setter
@EqualsAndHashCode
package bookrental.service.book.rentals;
import bookrental.model.account.User;
import bookrental.model.book.Book;
import bookrental.model.book.BookRentals;
import bookrental.repository.account.UserRepository;
import bookrental.repository.book.BookRepository;
import bookrental.repository.book.BookRentalsRepository;
import flexjson.JSONSerializer;
import org.springframework.beans.factory.annotation.Autowired;
@must1
must1 / Login
Last active September 14, 2018 15:15
package model;
import repository.UserActions;
import java.sql.SQLException;
public class Login {
private User connectedUser;
private UserActions userActions;