Files
no-copy/src/main/java/ru/soune/nocopy/dto/user/UserContentRequest.java
T
vladp 55fa8b84e2
Test Workflow / test (push) Successful in 4s
NCBACK-33 add email send
2026-01-20 03:47:51 +07:00

16 lines
464 B
Java

package ru.soune.nocopy.dto.user;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
public record UserContentRequest(
@NotBlank @Email String userEmail,
@NotBlank String fileName,
@NotBlank String originalFilename,
@NotBlank String fileType,
@NotBlank String fileExtension,
@NotBlank Long fileSize,
@NotBlank String filePath,
Integer protectionLevel
) {}