package io.renren.modules.sys.entity.dataset;

import com.baomidou.mybatisplus.annotation.FieldFill;
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 java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author allen
 * @since 2021-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DataSetDy对象", description="")
public class DataSetDy implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据集id")
    @TableId(value = "dataset_id", type = IdType.AUTO)
    private Long datasetId;

    @ApiModelProperty(value = "定时任务id")
    private Long jobId;

    @ApiModelProperty(value = "数据集名称")
    private String datasetName;

    @TableField(fill = FieldFill.INSERT)  //  填充类别 为默认分组
    @ApiModelProperty(value = "类别")
    private Long categoryId;

    @ApiModelProperty(value = "动静状态")
    private Integer datasetStatus;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "所属用户id")
    private Long uid;

    @ApiModelProperty(value = "是否可以停止")
    private Integer stoppable;

    @ApiModelProperty(value = "文件系统路径")
    private String dfsUrl;



    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;



    @ApiModelProperty(value = "数据集中选择的字段")
    private Long chooseDataId;


}
