package com.chinaweal.aiccs.aiccs.statistic.entity;

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

import java.util.Date;

/**
 * <p>
 * 定时统计结果存储表
 * </p>
 *
 * @author chinaweal
 * @since 2020-08-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("statistics_result")
@ApiModel(value = "StatisticsResult对象", description = "定时统计结果存储表")
public class StatisticsResult extends Model<StatisticsResult> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 统计模块标识
     */
    @ApiModelProperty(value = "统计模块标识")
    @TableField("module_tag")
    private String moduleTag;

    /**
     * 统计结果json
     */
    @ApiModelProperty(value = "统计结果json")
    @TableField("data_json")
    private String dataJson;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;
}
