add log trim

This commit is contained in:
Efstratios Giannopoulos 2024-05-22 16:31:44 +03:00
parent ac6fd08fb7
commit 8986d9f9fc
2 changed files with 9 additions and 1 deletions

View File

@ -41,7 +41,11 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.17.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>gr.cite</groupId>
<artifactId>logging</artifactId>
<version>2.2.0</version>
</dependency>
</dependencies>

View File

@ -1,9 +1,13 @@
package org.opencdmp.commonmodels.models;
import gr.cite.tools.logging.annotation.LogTrim;
public class FileEnvelopeModel {
private String filename;
private String fileRef;
private String mimeType;
@LogTrim(50)
private byte[] file;
public String getFilename() {