feat(markers): implement marker entity & service

This commit is contained in:
2026-07-02 17:43:13 +01:00
parent 3c8df9b328
commit 18626a5db8
10 changed files with 198 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
package com.ddf.vodsystem.controllers.dto;
import jakarta.validation.constraints.NotBlank;
public record MarkerCreateRequest(
@NotBlank String message
) {}

View File

@@ -0,0 +1,11 @@
package com.ddf.vodsystem.controllers.dto;
import java.time.Instant;
public record MarkerResponse(
Long id,
Long userId,
Long streamId,
String message,
Instant timestamp
) {}