26 lines
591 B
Java
26 lines
591 B
Java
package org.gcube.application.geoportal.common.model.document.accounting;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.*;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
@NoArgsConstructor
|
|
@AllArgsConstructor
|
|
@Getter
|
|
@Setter
|
|
@ToString
|
|
public class AccountingInfo {
|
|
|
|
public static final String USER="_user";
|
|
public static final String CONTEXT="_context";
|
|
public static final String INSTANT="_instant";
|
|
|
|
@JsonProperty(USER)
|
|
private User user;
|
|
@JsonProperty(CONTEXT)
|
|
private Context context;
|
|
@JsonProperty(INSTANT)
|
|
private LocalDateTime instant;
|
|
}
|