The expiry date is no longer user-facing: it is removed from the API (request and response) and the frontend. The backend now automatically calculates it as the event date plus 7 days. The expired banner and RSVP-bar filtering by expired status are also removed from the UI, since expiry is purely an internal data-retention mechanism. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
329 B
Java
15 lines
329 B
Java
package de.fete.domain.model;
|
|
|
|
import java.time.LocalDate;
|
|
import java.time.OffsetDateTime;
|
|
import java.time.ZoneId;
|
|
|
|
/** Command carrying the data needed to create an event. */
|
|
public record CreateEventCommand(
|
|
String title,
|
|
String description,
|
|
OffsetDateTime dateTime,
|
|
ZoneId timezone,
|
|
String location
|
|
) {}
|