Files

36 lines
1.0 KiB
C#
Raw Permalink Normal View History

2023-12-11 09:55:12 +08:00
using Yi.Framework.Bbs.Domain.Shared.Enums;
2023-04-15 22:44:33 +08:00
2023-12-11 09:55:12 +08:00
namespace Yi.Framework.Bbs.Application.Contracts.Dtos.Discuss
2023-04-15 22:44:33 +08:00
{
/// <summary>
/// Discuss输入创建对象
/// </summary>
public class DiscussCreateInputVo
{
public string Title { get; set; }
2023-04-20 23:08:21 +08:00
public string? Types { get; set; }
public string? Introduction { get; set; }
2023-04-15 22:44:33 +08:00
public DateTime? CreateTime { get; set; } = DateTime.Now;
public string Content { get; set; }
2023-04-20 23:08:21 +08:00
public string? Color { get; set; }
2023-04-15 22:44:33 +08:00
2023-12-11 09:55:12 +08:00
public Guid PlateId { get; set; }
2023-04-15 22:44:33 +08:00
/// <summary>
/// 默认公开
/// </summary>
public DiscussPermissionTypeEnum PermissionType { get; set; } = DiscussPermissionTypeEnum.Public;
/// <summary>
/// 封面
/// </summary>
2023-04-20 23:08:21 +08:00
public string? Cover { get; set; }
2023-12-18 23:15:13 +08:00
public int OrderNum { get; set; } = 0;
2023-12-19 13:05:03 +08:00
/// <summary>
/// 是否禁止评论创建功能
/// </summary>
public bool IsDisableCreateComment { get; set; }
2023-04-15 22:44:33 +08:00
}
}