package cn.com.victorysoft.business.analyze.entity;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("数据表指标")
@Data
public class CstTableIndicator implements Serializable {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("指标ID")
    private String indicatorId;

    @ApiModelProperty("指标名称")
    private String name;

    @ApiModelProperty("表代码")
    private String tableId;

    @ApiModelProperty("表名称")
    private String tableName;

    @ApiModelProperty("显示字段")
    private String labelColumn;

    @ApiModelProperty("数据类型ID")
    private String dataTypeId;

    @ApiModelProperty("公式")
    private String formula;

    @ApiModelProperty("计量单位")
    private String unit;

    @ApiModelProperty("附录数据源ID")
    private String dataSourceId;

    @ApiModelProperty("值字段")
    private String valueColumn;

    @ApiModelProperty("排序")
    private Short orderNo;

    @ApiModelProperty("查询类型")
    private String queryTypeId;

    @ApiModelProperty("是否默认指标")
    private String defaultIndicator;

    @ApiModelProperty("可选查询类型")
    private List<CstQueryType> queryTypes;

    private static final long serialVersionUID = 1L;
}
