package com.changhong.epc.bean.form;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.changhong.epc.bean.form.budget.BudgetUserDefined;
|
import lombok.Data;
|
|
import javax.persistence.Transient;
|
|
@Data
|
public class FormDataEntity {
|
/**
|
* 删除的data数据
|
*/
|
@Transient
|
private List<String> dataIds;
|
|
/**
|
* 用户名
|
*/
|
@Transient
|
private String userName;
|
|
/**
|
* 查询部门预算还是项目预算
|
*/
|
private String budgetType;
|
private String budgetProject;
|
|
/**
|
* formId
|
*/
|
private String formId;
|
|
/**
|
* 子表单别名
|
*/
|
private String childAlias;
|
|
/**
|
* 表单名
|
*/
|
private String formName;
|
|
/**
|
* 递增id
|
*/
|
private Integer dataRowNum;
|
|
/**
|
* 子表id 对应主表的dataRowNum
|
*/
|
private Integer subDataRowNum;
|
|
/*
|
* 子表单对应主表单
|
*/
|
private Integer parentDataRowNum;
|
|
/**
|
* 租户id
|
*/
|
private String tenantId;
|
|
/**
|
* 表中字段及数据{例如:文本}及对应的控件名{例如:单行文本12}
|
*/
|
private List<Map<String, Object>> data;
|
|
/**
|
* 表中字段及数据
|
*/
|
private Map<String, Object> map;
|
|
/**
|
* 费用类型
|
*/
|
private String costType;
|
|
/**
|
* 部门
|
*/
|
private String NowDepartment;
|
|
/**
|
* 子表单别名集合
|
*/
|
private List<String> childAliaList;
|
|
/**
|
* 自定义条件
|
*/
|
private List<BudgetUserDefined.Dimension> dimensions;
|
|
private List<String> department;
|
|
public FormDataEntity(){
|
|
}
|
|
public FormDataEntity(String formId ,Integer dataRowNum,String tenantId){
|
this.formId = formId;
|
this.dataRowNum = dataRowNum;
|
this.tenantId = tenantId;
|
}
|
|
public FormDataEntity(String formName ,Integer dataRowNum){
|
this.formName = formName;
|
this.dataRowNum = dataRowNum;
|
}
|
|
}
|