2022-02-14 12:23:13 +01:00
|
|
|
package org.gcube.application.geoportal.common.model.document.accounting;
|
2021-11-24 14:47:59 +01:00
|
|
|
|
2022-02-23 17:13:22 +01:00
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
2021-11-24 14:47:59 +01:00
|
|
|
import lombok.*;
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
@ToString
|
|
|
|
public class AccountingInfo {
|
|
|
|
|
2022-02-18 18:12:02 +01:00
|
|
|
public static final String USER="_user";
|
|
|
|
public static final String CONTEXT="_context";
|
|
|
|
public static final String INSTANT="_instant";
|
2022-01-14 12:31:11 +01:00
|
|
|
|
2022-02-23 17:13:22 +01:00
|
|
|
@JsonProperty(USER)
|
2021-11-24 14:47:59 +01:00
|
|
|
private User user;
|
2022-02-23 17:13:22 +01:00
|
|
|
@JsonProperty(CONTEXT)
|
2021-11-24 14:47:59 +01:00
|
|
|
private Context context;
|
2022-02-23 17:13:22 +01:00
|
|
|
@JsonProperty(INSTANT)
|
2021-11-24 14:47:59 +01:00
|
|
|
private LocalDateTime instant;
|
|
|
|
}
|