package org.springnewfiber.dataadapter.xf.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.Date; import lombok.Data; /** * 数据接入记录 实体类 * @since 2022-06-28 15:06:03 * @author admin */ @Data @TableName("t_data_access_record") @ApiModel(value = "DataAccessRecord对象", description = "数据接入记录") public class DataAccessRecord { /** * */ @TableId(type = IdType.AUTO) private Integer id; /** * 接入方式(讯飞实时数据 iflytek_realtime | 讯飞历史数据 iflytek_history) */ @ApiModelProperty(value = "接入方式(讯飞实时数据 iflytek_realtime | 讯飞历史数据 iflytek_history)") private String accessType; /** * 接入数据类型 */ @ApiModelProperty(value = "接入数据类型") private String dataType; /** * 接入数据内容 */ @ApiModelProperty(value = "接入数据内容") private String content; /** * 接入数据内容摘要(用于比较是否重复推送) */ @ApiModelProperty(value = "接入数据内容摘要(用于比较是否重复推送)") private String contentHash; /** * 耗时(毫秒) */ @ApiModelProperty(value = "耗时(毫秒)") private Integer timeConsume; /** * 数据接入结果 */ @ApiModelProperty(value = "数据接入结果") private String result; /** * 创建时间 */ @ApiModelProperty(value = "创建时间") private Date createDatetime; }