com.os.falcon.dwh.message.CSResourceDwhLog Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.os.falcon.dwh.message;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.os.falcon.dwh.event.constant.DWHEvents;
import com.os.falcon.dwh.message.item.AccountInfoItem;
import com.os.falcon.network.api.message.FMessage;
/**
*
* @author phamquan
*/
public class CSResourceDwhLog extends FMessage{
private AccountInfoItem accountInfo;
private String flowType;
private String itemType;
private String itemId;
private String currency;
private int amount;
private long createdDate;
public CSResourceDwhLog() {
}
public CSResourceDwhLog(AccountInfoItem accountInfo, String flowType, String itemType, String itemId, String currency, int amount, long createdDate) {
this.accountInfo = accountInfo;
this.flowType = flowType;
this.itemType = itemType;
this.itemId = itemId;
this.currency = currency;
this.amount = amount;
this.createdDate = createdDate;
}
public AccountInfoItem getAccountInfo() {
return accountInfo;
}
public void setAccountInfo(AccountInfoItem accountInfo) {
this.accountInfo = accountInfo;
}
public String getFlowType() {
return flowType;
}
public void setFlowType(String flowType) {
this.flowType = flowType;
}
public String getItemType() {
return itemType;
}
public void setItemType(String itemType) {
this.itemType = itemType;
}
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public int getAmount() {
return amount;
}
public void setAmount(int amount) {
this.amount = amount;
}
public long getCreatedDate() {
return createdDate;
}
public void setCreatedDate(long createdDate) {
this.createdDate = createdDate;
}
@Override
@JsonIgnore
public String getEvent() {
return DWHEvents.CS_RESOURCE_LOG;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy