|
@ -7,8 +7,11 @@ import com.yihu.ehr.entity.BaseIdentityEntity;
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Table;
|
|
import javax.persistence.Table;
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
* 视图指标 entity
|
|
*
|
|
*
|
|
* @author janseny
|
|
* @author janseny
|
|
* @date 2018年9月26日
|
|
* @date 2018年9月26日
|
|
@ -26,6 +29,12 @@ public class ViewQuota extends BaseAssignedEntity {
|
|
public String basicFormulaType; // 基础公式:1:求和,2.计数,3:均值,4:最大值,5:最小值,6:去重计数
|
|
public String basicFormulaType; // 基础公式:1:求和,2.计数,3:均值,4:最大值,5:最小值,6:去重计数
|
|
public String chartType; // 图表类型,1:折线图,2:柱状图。
|
|
public String chartType; // 图表类型,1:折线图,2:柱状图。
|
|
|
|
|
|
|
|
// 临时属性
|
|
|
|
/**
|
|
|
|
* 指标过滤条件
|
|
|
|
*/
|
|
|
|
public List<ViewQuotaFilter> quotaFilterList;
|
|
|
|
|
|
@Column(name = "view_id")
|
|
@Column(name = "view_id")
|
|
public Integer getViewId() {
|
|
public Integer getViewId() {
|
|
return viewId;
|
|
return viewId;
|
|
@ -43,6 +52,7 @@ public class ViewQuota extends BaseAssignedEntity {
|
|
public void setDimensionCode(String dimensionCode) {
|
|
public void setDimensionCode(String dimensionCode) {
|
|
this.dimensionCode = dimensionCode;
|
|
this.dimensionCode = dimensionCode;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "dimension_name")
|
|
@Column(name = "dimension_name")
|
|
public String getDimensionName() {
|
|
public String getDimensionName() {
|
|
return dimensionName;
|
|
return dimensionName;
|
|
@ -51,6 +61,7 @@ public class ViewQuota extends BaseAssignedEntity {
|
|
public void setDimensionName(String dimensionName) {
|
|
public void setDimensionName(String dimensionName) {
|
|
this.dimensionName = dimensionName;
|
|
this.dimensionName = dimensionName;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "es_index")
|
|
@Column(name = "es_index")
|
|
public String getEsIndex() {
|
|
public String getEsIndex() {
|
|
return esIndex;
|
|
return esIndex;
|
|
@ -59,6 +70,7 @@ public class ViewQuota extends BaseAssignedEntity {
|
|
public void setEsIndex(String esIndex) {
|
|
public void setEsIndex(String esIndex) {
|
|
this.esIndex = esIndex;
|
|
this.esIndex = esIndex;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "es_type")
|
|
@Column(name = "es_type")
|
|
public String getEsType() {
|
|
public String getEsType() {
|
|
return esType;
|
|
return esType;
|
|
@ -67,6 +79,7 @@ public class ViewQuota extends BaseAssignedEntity {
|
|
public void setEsType(String esType) {
|
|
public void setEsType(String esType) {
|
|
this.esType = esType;
|
|
this.esType = esType;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "formula_mode")
|
|
@Column(name = "formula_mode")
|
|
public String getFormulaMode() {
|
|
public String getFormulaMode() {
|
|
return formulaMode;
|
|
return formulaMode;
|
|
@ -75,6 +88,7 @@ public class ViewQuota extends BaseAssignedEntity {
|
|
public void setFormulaMode(String formulaMode) {
|
|
public void setFormulaMode(String formulaMode) {
|
|
this.formulaMode = formulaMode;
|
|
this.formulaMode = formulaMode;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "basic_formula_type")
|
|
@Column(name = "basic_formula_type")
|
|
public String getBasicFormulaType() {
|
|
public String getBasicFormulaType() {
|
|
return basicFormulaType;
|
|
return basicFormulaType;
|
|
@ -83,6 +97,7 @@ public class ViewQuota extends BaseAssignedEntity {
|
|
public void setBasicFormulaType(String basicFormulaType) {
|
|
public void setBasicFormulaType(String basicFormulaType) {
|
|
this.basicFormulaType = basicFormulaType;
|
|
this.basicFormulaType = basicFormulaType;
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "chart_type")
|
|
@Column(name = "chart_type")
|
|
public String getChartType() {
|
|
public String getChartType() {
|
|
return chartType;
|
|
return chartType;
|
|
@ -92,4 +107,12 @@ public class ViewQuota extends BaseAssignedEntity {
|
|
this.chartType = chartType;
|
|
this.chartType = chartType;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
public List<ViewQuotaFilter> getQuotaFilterList() {
|
|
|
|
return quotaFilterList;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setQuotaFilterList(List<ViewQuotaFilter> quotaFilterList) {
|
|
|
|
this.quotaFilterList = quotaFilterList;
|
|
|
|
}
|
|
}
|
|
}
|