com.github.gentity.demogallery.User Maven / Gradle / Ivy
package com.github.gentity.demogallery;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import com.github.gentity.ToManySide;
@Entity
@Table(name = "USER")
public class User implements Serializable
{
@Id
@Column(name = "ID", length = 36)
protected String id;
@Column(name = "USERNAME", length = 40, nullable = false)
protected String username;
@Column(name = "FIRST_NAME", length = 100)
protected String firstName;
@Column(name = "LAST_NAME", length = 100)
protected String lastName;
@OneToMany(mappedBy = "iconUser")
protected List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy