Update FileUpload.java
This commit is contained in:
parent
02cca3909b
commit
afb24eb1fe
@ -1,18 +1,22 @@
|
|||||||
package de.w665.sharepulse.model;
|
package de.w665.sharepulse.model;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import lombok.*;
|
import lombok.*;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
@Setter
|
@Setter
|
||||||
@ToString
|
@Builder
|
||||||
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
|
@ToString
|
||||||
public class FileUpload {
|
public class FileUpload {
|
||||||
private String fileId;
|
private String fileId;
|
||||||
private String fileName;
|
private String fileName;
|
||||||
private long fileSize;
|
private long fileSize;
|
||||||
private boolean singleDownload;
|
private boolean singleDownload;
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "dd-MM-yyyy HH:mm:ss", timezone = "CET")
|
||||||
private Date uploadDate;
|
private Date uploadDate;
|
||||||
private String uploadedByIpAddress;
|
private String uploadedByIpAddress;
|
||||||
private long downloadCount;
|
private long downloadCount;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user