Files
Yi.Admin/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Application.Contracts/Dtos/Discuss/DiscussGetOutputDto.cs

49 lines
1.8 KiB
C#
Raw Normal View History

2023-12-11 09:55:12 +08:00
using Volo.Abp.Application.Dtos;
using Yi.Framework.Bbs.Application.Contracts.Dtos.BbsUser;
2025-01-19 15:17:48 +08:00
using Yi.Framework.Bbs.Application.Contracts.Dtos.DiscussLable;
2024-01-04 20:36:54 +08:00
using Yi.Framework.Bbs.Application.Contracts.Dtos.Plate;
2023-12-11 09:55:12 +08:00
using Yi.Framework.Bbs.Domain.Shared.Enums;
using Yi.Framework.Rbac.Application.Contracts.Dtos.User;
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
{
2023-12-11 09:55:12 +08:00
public class DiscussGetOutputDto : EntityDto<Guid>
2023-04-15 22:44:33 +08:00
{
2023-12-19 13:05:03 +08:00
/// <summary>
2025-01-19 15:17:48 +08:00
/// 是否禁止评论创建功能
2023-12-19 13:05:03 +08:00
/// </summary>
public bool IsDisableCreateComment { get; set; }
2023-04-15 22:44:33 +08:00
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 int AgreeNum { get; set; }
public int SeeNum { get; set; }
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; }
2025-01-19 15:17:48 +08:00
//是否置顶默认false
2023-04-15 22:44:33 +08:00
public bool IsTop { get; set; }
/// <summary>
2025-01-19 15:17:48 +08:00
/// 封面
2023-04-15 22:44:33 +08:00
/// </summary>
2023-04-20 23:08:21 +08:00
public string? Cover { get; set; }
2025-01-19 15:17:48 +08:00
//是否私有默认false
2023-04-15 22:44:33 +08:00
public bool IsPrivate { get; set; }
2025-01-19 15:17:48 +08:00
//私有需要判断code权限
2023-04-20 23:08:21 +08:00
public string? PrivateCode { get; set; }
2023-04-15 22:44:33 +08:00
public DateTime CreationTime { get; set; }
public DiscussPermissionTypeEnum PermissionType { get; set; }
2023-12-24 11:56:44 +08:00
public bool IsAgree { get; set; } = false;
2023-12-11 09:55:12 +08:00
public List<Guid>? PermissionUserIds { get; set; }
public BbsUserGetListOutputDto User { get; set; }
2024-01-04 20:36:54 +08:00
public PlateGetOutputDto Plate { get; set; }
2025-01-19 15:17:48 +08:00
public List<Guid>? DiscussLables { get; set; } = new List<Guid>();
public List<DiscussLableGetOutputDto> Lables { get; set; } =new List<DiscussLableGetOutputDto>();
2023-04-15 22:44:33 +08:00
}
}