package cn.ibizlab.core.data.domain;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.enums.DupCheck;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * [数据源] 对象
 */
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("数据源")
public class DSSetting extends EntityBase implements Serializable {

    /**
     * 标识
     */
    @DEField(defaultValue = "dsname", defaultValueType = DEFieldDefaultValueType.PARAM, isKeyField = true)
    @JSONField(name = "ds_id")
    @JsonProperty("ds_id")
    @ApiModelProperty("标识")
    private String dsId;

    /**
     * 数据源名称
     */
    @JSONField(name = "ds_name")
    @JsonProperty("ds_name")
    @ApiModelProperty("数据源名称")
    private String dsName;

    /**
     * 类型
     */
    @JSONField(name = "ds_type")
    @JsonProperty("ds_type")
    @ApiModelProperty("类型")
    private String dsType;

    /**
     * 配置
     */
    @JSONField(name = "ds_cfg")
    @JsonProperty("ds_cfg")
    @ApiModelProperty("配置")
    private String dsCfg;




}


