package com.unis.crk.report.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 报表信息类
 * </p>
 *
 * @author wys
 * @since 2021-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ReportInfo对象", description="报表信息")
public class ReportInfo implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "报表ID")
    @TableId(value = "RptID", type = IdType.UUID)
    private String rptID;

    @ApiModelProperty(value = "报表名")
    @TableField("RptName")
    private String rptName;

    @ApiModelProperty(value = "SQL")
    @TableField("DymamicSQL")
    private String dymamicSQL;

    @ApiModelProperty(value = "分组字段")
    @TableField("GroupByFields")
    private String groupByFields;

    @ApiModelProperty(value = "排序字段")
    @TableField("OrderByFields")
    private String orderByFields;

}
