package com.jeesharp.business.modules.setting.vo;

import com.jeesharp.framework.pojo.vo.BaseInfoVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 帮助文章VO
 *
 * @author jeesharp
 * @version 2026-02-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "帮助文章VO")
public class HelpArticleVO extends BaseInfoVO {

    @Schema(description = "应用标识（APP/WECHAT_MINI/WECHAT_MP/H5等）")
    private String app;

    @Schema(description = "应用名称")
    private String appName;

    @Schema(description = "分类ID")
    private String categoryId;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "文章内容（支持富文本）")
    private String content;

    @Schema(description = "文章摘要")
    private String summary;

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

    @Schema(description = "是否常见问题：0-否 1-是")
    private Integer isFaq;

    @Schema(description = "是否常见问题文本")
    private String isFaqText;

    @Schema(description = "浏览次数")
    private Integer viewCount;

    @Schema(description = "点赞次数")
    private Integer likeCount;

    @Schema(description = "排序号")
    private Integer sortOrder;

    @Schema(description = "状态：0-禁用 1-启用")
    private Integer status;

    @Schema(description = "状态名称")
    private String statusName;

    @Schema(description = "创建时间")
    private LocalDateTime createDate;

    @Schema(description = "更新时间")
    private LocalDateTime updateDate;
}
