From b94ca0312c0b4c31730b65167bbce0a37538283a Mon Sep 17 00:00:00 2001 From: Thomas Mewily <40406187+Thomas36@users.noreply.github.com> Date: Wed, 6 Apr 2022 09:56:49 +0200 Subject: [PATCH] EleveEntity, GommetteEntity, ProfEntity --- src/com/uca/entity/GommetteEntity.java | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/com/uca/entity/GommetteEntity.java diff --git a/src/com/uca/entity/GommetteEntity.java b/src/com/uca/entity/GommetteEntity.java new file mode 100644 index 0000000..1ace5e9 --- /dev/null +++ b/src/com/uca/entity/GommetteEntity.java @@ -0,0 +1,26 @@ +package com.uca.entity; +import java.sql.Timestamp; + +public class GommetteEntity +{ + private int id; + public int getId() { return id; } + public void setId(int value) { id = value; } + + private String nom; + public String getNom() { return nom; } + public void setNom(String value) { nom = value; } + + public enum Couleur { Verte, Rouge, Blanc, ArcEnCiel } + private Couleur couleur; + public Couleur getCouleur() { return couleur; } + public void setCouleur(Couleur value) { couleur = value; } + + private String description; + public String getDescription() { return description; } + public void setDescription(String value) { description = value; } + + public GommetteEntity(){ + //Ignored ! + } +} -- GitLab