Permission.java 478 Bytes
package etunicorn;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * etunicorn-server
 * Copyright © 2017 Le Club Info Polytech Lille
 * Tous droits réservés
 */
@Entity
public class Permission {

    @Id
    private String nom;

    public Permission() {
    }

    public Permission(String nom) {
        this.nom = nom;
    }
    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }
}