package com.wzj.soopin.content.domain.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;

/**
 * 文章DO
 *
 * @author Bulbasaur
 * @since 2020/12/10 17:42
 */
@Data
@TableName("cont_article")
@ApiModel(value = "文章")
public class ArticleVO extends BaseAudit {

    /**
     * 标题
     */
    @Schema(description = "id")
    private Long id;
    @Schema(description = "标题")
    private String title;
    /**
     * 摘要
     */
    @Schema(description = "摘要")
    private String summary;
    /**
     * 分类
     */
    @Schema(description = "分类")
    private Long categoryId;
    /**
     * 分类名称
     */
    @Schema(description = "分类名称")
    private String categoryName;
    /**
     * 标签
     */
    @Schema(description = "标签")
    private String tags;
    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;
    /**
     * 内容
     */
    @Schema(description = "内容")
    private String content;
    /**
     * 状态
     */
    @Schema(description = "状态")
    private Integer status;
    /**
     * 类型
     */
    @Schema(description = "类型")
    private Integer type;
    /**
     * 图片
     */
    @Schema(description = "图片")
    private String images;
    /**
     * 链接
     */
    @Schema(description = "链接")
    private String url;
}
