package com.xjrsoft.module.dataexpert.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
* @title: 数据导出-数据源设置
* @Author dzx
* @Date: 2024-04-19
* @Version 1.0
*/
@Data
@TableName("data_expert_source_field")
@ApiModel(value = "data_expert_source_field", description = "数据导出-数据源-字段设置")
public class DataExpertSourceField implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("")
    @TableId
    private Long id;
    @ApiModelProperty("")
    @TableField(fill = FieldFill.INSERT)
    private Long createUserId;
    /**
    * 
    */
    @ApiModelProperty("")
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;
    /**
    * 
    */
    @ApiModelProperty("")
    @TableField(fill = FieldFill.UPDATE)
    private Long modifyUserId;
    /**
    * 
    */
    @ApiModelProperty("")
    @TableField(fill = FieldFill.UPDATE)
    private Date modifyDate;
    /**
    * 
    */
    @ApiModelProperty("")
    @TableField(fill = FieldFill.INSERT)
    @TableLogic
    private Integer deleteMark;
    /**
    * 
    */
    @ApiModelProperty("")
    @TableField(fill = FieldFill.INSERT)
    private Integer enabledMark;
    /**
    * 
    */
    @ApiModelProperty("")
    private Integer sortCode;

    @ApiModelProperty("数据源(data_expert_source)")
    private Long dataExpertSourceId;

    /**
    * 数据源名称
    */
    @ApiModelProperty("字段名称")
    private String fieldName;
    /**
    * 数据源类型
    */
    @ApiModelProperty("映射名称")
    private String showName;
    /**
    * magicapi地址
    */
    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("数据分组")
    private String dataGroup;

}