package com.yice.webadmin.app.data;

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
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "dataset_data_filter")
public class DatasetDataFilter {

    /**
     * 文档标识
     */
    @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;
}
