package com.quinn.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author limqsh
 * @since 2022-05-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qn_source")
@ApiModel(value="Source对象", description="")
public class Source implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "资源ID")
    private String sid;

    @ApiModelProperty(value = "资源名")
    private String sourceName;

    @ApiModelProperty(value = "描述")
    private String detail;

    @ApiModelProperty(value = "资源内容")
    private String sourceContent;

    @ApiModelProperty(value = "文本资源内容")
    private String contentJson;

    @ApiModelProperty(value = "资源类型")
    private String sourceType;

    @ApiModelProperty(value = "资源链接")
    private String sourceLink;

    @ApiModelProperty(value = "类别ID")
    private Integer categoryId;

    @ApiModelProperty(value = "类别名")
    private String categoryName;

    @ApiModelProperty(value = "英文名")
    private String enName;

    @ApiModelProperty(value = "文件后缀")
    private String fileType;

    @ApiModelProperty(value = "下载次数")
    private int downRecord;

    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private Date gmtUpdate;


}
