add log trim
This commit is contained in:
parent
ac6fd08fb7
commit
8986d9f9fc
6
pom.xml
6
pom.xml
|
@ -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>
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue