using Yi.Framework.Bbs.Domain.Shared.Enums; namespace Yi.Framework.Bbs.Application.Contracts.Dtos.Discuss { /// /// Discuss输入创建对象 /// public class DiscussCreateInputVo { public string Title { get; set; } public string? Types { get; set; } public string? Introduction { get; set; } public DateTime? CreateTime { get; set; } = DateTime.Now; public string Content { get; set; } public string? Color { get; set; } public Guid PlateId { get; set; } /// /// 默认公开 /// public DiscussPermissionTypeEnum PermissionType { get; set; } = DiscussPermissionTypeEnum.Public; /// /// 封面 /// public string? Cover { get; set; } public int OrderNum { get; set; } = 0; /// /// 是否禁止评论创建功能 /// public bool IsDisableCreateComment { get; set; } /// /// 标签 /// public List? DiscussLableIds { get; set; } /// /// 角色 /// public List? PermissionRoleCodes { get; set; } = new List(); } }