package org.stm.spider.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 数据源配置
 * @Author: jeecg-boot
 * @Date:   2023-05-08
 * @Version: V1.0
 */
@Data
@TableName("wb_tmp_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wb_tmp_cfg对象", description="数据源配置")
public class WbTmpCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**配置名称*/
	@Excel(name = "配置名称", width = 15)
    @ApiModelProperty(value = "配置名称")
    private String name;
	/**起始记录ID*/
	@Excel(name = "起始记录ID", width = 15)
    @ApiModelProperty(value = "起始记录ID")
    private Integer stDocid;
	/**根路径*/
	@Excel(name = "根路径", width = 15)
    @ApiModelProperty(value = "根路径")
    private String rootPath;
	/**类别*/
	@Excel(name = "类别", width = 15)
    @ApiModelProperty(value = "类别")
    private String tp;
	/**总记录数*/
	@Excel(name = "总记录数", width = 15)
    @ApiModelProperty(value = "总记录数")
    private Integer total;
	/**每页记录数*/
	@Excel(name = "每页记录数", width = 15)
    @ApiModelProperty(value = "每页记录数")
    private Integer psize;
	/**当前页*/
	@Excel(name = "当前页", width = 15)
    @ApiModelProperty(value = "当前页")
    private Integer pind;
	/**最后记录ID*/
	@Excel(name = "最后记录ID", width = 15)
    @ApiModelProperty(value = "最后记录ID")
    private Integer endDocid;
	/**最后更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后更新时间")
    private Date updateTime;

    @Excel(name = "项目ID", width = 15)
    @ApiModelProperty(value = "项目ID")
    private Integer itemid;

    @Excel(name = "页数", width = 15)
    @ApiModelProperty(value = "页数")
    private Integer pages;

}
