Update Email.java

This commit is contained in:
Ludy 2025-05-02 00:53:54 +02:00 committed by GitHub
parent cd232d0b95
commit 018f0d05c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,24 +1,19 @@
package stirling.software.SPDF.model.api;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.web.multipart.MultipartFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@EqualsAndHashCode
@EqualsAndHashCode(callSuper = true)
@ConditionalOnProperty(value = "mail.enabled", havingValue = "true", matchIfMissing = false)
public class Email {
@Schema(
description = "The input file",
requiredMode = Schema.RequiredMode.REQUIRED,
format = "binary")
private MultipartFile fileInput;
public class Email extends GeneralFile {
@Schema(
description = "The recipient's email address",