package com.eactive.eai.rms.data.entity.onl.logger;

import com.eactive.eai.data.entity.onl.logger.EAILog;
import com.eactive.eai.data.entity.onl.logger.EAILogId;
import lombok.Data;

@Data

public class EAILogDto {

	private EAILog eaiLog;

	private String eaiSvcDesc;

	public EAILogDto(EAILog eaiLog, String eaiSvcDesc) {
		this.eaiLog = eaiLog;
		this.eaiSvcDesc = eaiSvcDesc;
	}

	public EAILogDto(EAILogId eaiLogId, String trackasiskey1ctnt, String trackasiskey2ctnt, String keymgtmsgctnt,
					 String eaisvcname, String extbizcd, String refkey, String clientname,
					 String orgname, String msgprcssyms, String companycode, String eaierrctnt, String eaiSvcDesc) {
		this.eaiLog = new EAILog();
		this.eaiLog.setId(eaiLogId);
		this.eaiLog.setTrackasiskey1ctnt(trackasiskey1ctnt);
		this.eaiLog.setTrackasiskey2ctnt(trackasiskey2ctnt);
		this.eaiLog.setKeymgtmsgctnt(keymgtmsgctnt);
		this.eaiLog.setEaisvcname(eaisvcname);
		this.eaiLog.setExtbizcd(extbizcd);
		this.eaiLog.setRefkey(refkey);
		this.eaiLog.setClientname(clientname);
		this.eaiLog.setOrgname(orgname);
		this.eaiLog.setMsgprcssyms(msgprcssyms);
		this.eaiLog.setCompanycode(companycode);
		this.eaiLog.setEaierrctnt(eaierrctnt);
		this.eaiSvcDesc = eaiSvcDesc;
	}
}
