All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tkit.quarkus.jpa.test.User Maven / Gradle / Ivy

The newest version!
package org.tkit.quarkus.jpa.test;

import jakarta.persistence.*;

import org.tkit.quarkus.jpa.models.TraceableEntity;

@Entity
@Table(name = "TEST_USER")
public class User extends TraceableEntity {

    private String name;

    private String email;

    @ManyToOne(fetch = FetchType.EAGER)
    @JoinColumn(name = "ADDRESS_GUID")
    private Address address;

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy