source: bus-n-go-do-5ta-faza/src/main/java/mk/ukim/finki/busngo/model/entities/Kaznazaregistriran.java

Last change on this file was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago

split group project and individual project into two separate folders

  • Property mode set to 100644
File size: 311 bytes
Line 
1package mk.ukim.finki.busngo.model.entities;
2
3import jakarta.persistence.*;
4import lombok.Data;
5
6import java.util.Objects;
7
8@Data
9@Entity
10public class Kaznazaregistriran extends Kazna{
11 @ManyToOne
12 @JoinColumn(name = "patnik_k_id", referencedColumnName = "k_id")
13 private Patnik korisnikByPatnikKId;
14}
Note: See TracBrowser for help on using the repository browser.