package com.yc.ship.module.miniapplet.controller.admin.content.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 目录内容新增/修改 Request VO")
@Data
public class ContentSaveReqVO {

    @Schema(description = "内容主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10566")
    private Long id;

    @Schema(description = "内容名称", example = "李四")
    private String name;

    @Schema(description = "内容副标题")
    private String title;

    @Schema(description = "文章内容")
    private String content;

    @Schema(description = "目录ID", example = "20092")
    private Long catalogueId;

    @Schema(description = "文章介绍")
    private String introduce;

    @Schema(description = "关键词")
    private String keyword;

    @Schema(description = "封面图")
    private String cover;

    @Schema(description = "视频")
    private String video;

    @Schema(description = "外部链接", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "发布状态 0未发布 1已发布", example = "2")
    private Integer releaseStatus;

    @Schema(description = "发布时间")
    private LocalDateTime releaseTime;

    /**
     * 作者
     */
    @Schema(description = "作者")
    private String author;

    /**
     * 作者头像
     */
    @Schema(description = "作者头像")
    private String authorHead;
    /**
     * 阅读数
     */
    @Schema(description = "阅读数")
    private Integer views;

}
