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