로그 유저 아닐시 시스템으로 남기게 변경 히스토리 남기는 방식 추가 적용 HistoryRequest 생성 히스토리 API 작업 히스토리 mongodb 조회
26 lines
647 B
Java
26 lines
647 B
Java
package com.caliverse.admin.mongodb.domain;
|
|
|
|
import com.caliverse.admin.mongodb.entity.EActionType;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
@Getter
|
|
@Setter
|
|
public class APILogInfoBase implements apiLog {
|
|
private String timestamp;
|
|
private EActionType actionType;
|
|
private String tranId;
|
|
private Object body;
|
|
|
|
public APILogInfoBase(String timestamp,
|
|
EActionType actionType,
|
|
String tranId,
|
|
Object body
|
|
) {
|
|
this.timestamp = timestamp;
|
|
this.actionType = actionType;
|
|
this.tranId = tranId;
|
|
this.body = body;
|
|
}
|
|
}
|