package com.aircraft.modules.article.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CpArticleDTO {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "封面图片URL")
    private String photo;

    @ApiModelProperty(value = "文章类型：0-图文，1-外链", allowableValues = "0,1")
    private Integer articleType;

    @ApiModelProperty(value = "文章外链")
    private String url;

    @ApiModelProperty(value = "标签ID")
    private int labelId;

    @ApiModelProperty(value = "模块ID")
    private int moduleId;

    @ApiModelProperty(value = "文章正文内容")
    private String text;

    @ApiModelProperty(value = "是否置顶：1-置顶，0-不置顶")
    private Integer top;
}