package com.yice.webadmin.app.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

@Data
@ApiModel
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "dataset_data_deduplicate")
public class DatasetDataDeduplicate {

    /**
     * 文档标识
     */
    @Id
    private String id;

    /**
     * 清洗任务标识id
     */
    @Field("clean_id")
    private Long cleanId;

    /**
     * 清洗前数据
     */
    @Field("clean_before_data")
    private String cleanBeforeData;

    /**
     * 清洗后数据
     */
    @Field("clean_after_data")
    private String cleanAfterData;

    /**
     * 创建时间
     */
    @Field("create_time")
    private Date createTime;
}
