网站首页 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
using System;
using System.Collections.Generic;
using Dpz.Core.Infrastructure;
using Dpz.Core.Public.Entity.V4;
using MessagePack;

namespace Dpz.Core.Public.ViewModel.V4;

public class VmArticleMini : IMapFrom<Article>
{
    public string Id { get; set; }

    /// <summary>
    /// 文章标题
    /// </summary>
    public string Title { get; set; }

    /// <summary>
    /// 简介
    /// </summary>
    public string Introduction { get; set; }

    /// <summary>
    /// 主图片
    /// </summary>
    public string MainImage { get; set; }

    /// <summary>
    /// 回复量
    /// </summary>
    public int CommentCount { get; set; }

    /// <summary>
    /// 查看量
    /// </summary>
    public int ViewCount { get; set; }

    /// <summary>
    /// 文章相关图片地址
    /// </summary>
    public List<string> ImagesAddress { get; set; }

    /// <summary>
    /// 标签
    /// </summary>
    public List<string> Tags { get; set; }

    /// <summary>
    /// 作者
    /// </summary>
    public VmUserInfo Author { get; set; }

    /// <summary>
    /// 来源
    /// </summary>
    public string From { get; set; }

    /// <summary>
    /// 发表时间
    /// </summary>
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 最后修改时间
    /// </summary>
    public DateTime LastUpdateTime { get; set; }
}
loading