网站首页/ 网站源码
website
站点相关全部源代码,隐藏了一些关于服务器的信息
csharp
csharp
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Dpz.Core.Public.ViewModel.V4;

/// <summary>
/// 文章创建
/// </summary>
public class VmCreateArticleV4
{
    /// <summary>
    /// 标题
    /// </summary>
    [Required]
    public string Title { get; set; }

    /// <summary>
    /// 文章内容 Markdown
    /// </summary>
    [Required]
    public string Markdown { get; set; }

    /// <summary>
    /// 文章内容 Markdown渲染的HTML
    /// 正在考虑是否移除
    /// </summary>
    [Required]
    public string Content { get; set; }

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

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

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

    /// <summary>
    /// 发布时间
    /// </summary>
    public DateTime? PublishTime { get; set; }
}
0 评论
暂无评论,来抢沙发吧