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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
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;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 文章DO
 *
 * @author Bulbasaur
 * @since 2020/12/10 17:42
 */
@Data
@TableName("cont_article")
@Schema(description="文章")
public class Article extends BaseEntity {

    @TableId
    private Long id;
    /**
     * 标题
     */
    private String title;
    /**
     * 分类ID
     */
    private Long categoryId;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 内容
     */
    private String content;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 类型
     */
    private Integer type;
    /**
     * 图片
     */
    private String images;
    /**
     * 链接
     */
    private String url;
}
