package com.changhong.epc.bean.form.budget.filtrate;
|
import java.util.List;
|
import java.util.Map;
|
|
import com.changhong.epc.constter.system.businesscode.BudgetBusinessMeaningCode;
|
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
@Data
|
@EqualsAndHashCode(exclude = {"data"})
|
public class BudgetclassifyKey{
|
|
/**
|
* 预算开始时间
|
*/
|
private String startDate;
|
|
/**
|
* 预算结束时间
|
*/
|
private String endDate;
|
|
/**
|
* 条件维度
|
*/
|
private List<Map<String,String>> dimension;
|
|
/**
|
* 保留原始数据
|
*/
|
private List<Map<String,Object>> data;
|
|
|
|
public BudgetclassifyKey(){
|
}
|
|
public BudgetclassifyKey(String startDate,String endDate){
|
this.startDate = startDate;
|
this.endDate = endDate;
|
}
|
public BudgetclassifyKey(Map<String, Object> budgetFrom){
|
this.startDate = (String)budgetFrom.get(BudgetBusinessMeaningCode.BUDGET_START_DATE);
|
this.endDate = (String)budgetFrom.get(BudgetBusinessMeaningCode.BUDGET_END_DATE);
|
}
|
|
}
|