OL.FrameCore.Application/Article/Dto/GetArticleListResponse.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Text;
namespace OL.FrameCore.Application.Article.Dto
{
public class GetArticleListResponse
{
public int Id { get; set; }
public string Title { get; set; }
public string Tags { get; set; }
public DateTime ReleaseTime { get; set; }
public int Status { get; set; }
public string StatusText
{
get
{
switch (Status)
{
case 0:
return "待发布";
case 1:
return "已发布";
case 2:
return "已关闭";
}
return "";
}
}
public int CreateId { get; set; }
public string CreateName { get; set; }
public DateTime CreateTime { get; set; }
public int UpdateId { get; set; }
public string UpdateName { get; set; }
public DateTime UpdateTime { get; set; }
public int Type { get; set; }
public string TypeText
{
get
{
switch (Type)
{
case 0: return "新闻";
case 1: return "公告";
default: return "";
}
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
