Blame view

src/main/java/etunicorn/Permission.java 478 Bytes
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
1
2
  package etunicorn;
  
8f05ee77   Geoffrey PREUD'HOMME   API /role et amél...
3
4
5
  import javax.persistence.Entity;
  import javax.persistence.Id;
  
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
6
  /**
3064f583   Geoffrey PREUD'HOMME   Copyright
7
8
9
   * etunicorn-server
   * Copyright © 2017 Le Club Info Polytech Lille
   * Tous droits réservés
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
10
   */
8f05ee77   Geoffrey PREUD'HOMME   API /role et amél...
11
  @Entity
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
12
  public class Permission {
8f05ee77   Geoffrey PREUD'HOMME   API /role et amél...
13
14
  
      @Id
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
15
16
      private String nom;
  
8f05ee77   Geoffrey PREUD'HOMME   API /role et amél...
17
18
19
20
21
22
      public Permission() {
      }
  
      public Permission(String nom) {
          this.nom = nom;
      }
aaf8ab01   Geoffrey PREUD'HOMME   Base, à priori
23
24
25
26
27
28
29
30
      public String getNom() {
          return nom;
      }
  
      public void setNom(String nom) {
          this.nom = nom;
      }
  }