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>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
<artifactId>jackson-annotations</artifactId>
|
<artifactId>jackson-annotations</artifactId>
|
||||||
<version>2.17.0</version>
|
<version>2.17.0</version>
|
||||||
<scope>compile</scope>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>gr.cite</groupId>
|
||||||
|
<artifactId>logging</artifactId>
|
||||||
|
<version>2.2.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
package org.opencdmp.commonmodels.models;
|
package org.opencdmp.commonmodels.models;
|
||||||
|
|
||||||
|
import gr.cite.tools.logging.annotation.LogTrim;
|
||||||
|
|
||||||
public class FileEnvelopeModel {
|
public class FileEnvelopeModel {
|
||||||
private String filename;
|
private String filename;
|
||||||
private String fileRef;
|
private String fileRef;
|
||||||
private String mimeType;
|
private String mimeType;
|
||||||
|
|
||||||
|
@LogTrim(50)
|
||||||
private byte[] file;
|
private byte[] file;
|
||||||
|
|
||||||
public String getFilename() {
|
public String getFilename() {
|
||||||
|
|
Loading…
Reference in New Issue