@@ -0,0 +1,1018 @@
+package fr.alecharp.picshare.domain;%0A%0Aimport java.time.LocalDate;%0Aimport java.util.Objects;%0Aimport java.util.UUID;%0A%0A/**%0A * @author Adrien Lecharpentier%0A */%0Apublic class Event %7B%0A    private String id;%0A%0A    private String title;%0A    private LocalDate date;%0A%0A    private Event() %7B%0A        this(null, null);%0A    %7D%0A%0A    public Event(String title, LocalDate date) %7B%0A        this.id = UUID.randomUUID().toString();%0A        this.title = title;%0A        this.date = date;%0A    %7D%0A%0A    public String id() %7B%0A        return id;%0A    %7D%0A%0A    public String title() %7B%0A        return title;%0A    %7D%0A%0A    public LocalDate date() %7B%0A        return date;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A        Event event = (Event) o;%0A        return Objects.equals(title, event.title) &&%0A                Objects.equals(date, event.date);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return Objects.hash(date);%0A    %7D%0A%7D%0A

Create `Event` model