zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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);
    }
    
}