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

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

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

@ApiModel("模板")
@Data
public class CstTemplate implements Serializable {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("模板名称")
    private String name;

    @ApiModelProperty("单位代码")
    private String unitcode;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("是否使用统计信息")
    private boolean useGroup;

    @ApiModelProperty("表类型")
    private String tableType;

    @ApiModelProperty("模板数据表")
    private List<CstTemplateTable> tables;

    @ApiModelProperty("数据指标")
    private List<CstTemplateIndicator> indicators;

    @ApiModelProperty("查询条件")
    private List<CstTemplateCondition> conditions;

    private static final long serialVersionUID = 1L;
}