mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
24 lines
637 B
C#
24 lines
637 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Yi.Framework.Ddd.Application.Contracts;
|
|
|
|
namespace Yi.Framework.AiHub.Application.Contracts.Dtos;
|
|
|
|
public class MessageGetListInput:PagedAllResultRequestDto
|
|
{
|
|
[Required]
|
|
public Guid SessionId { get; set; }
|
|
}
|
|
|
|
public class MessageDeleteInput
|
|
{
|
|
/// <summary>
|
|
/// 要删除的消息Id列表
|
|
/// </summary>
|
|
[Required]
|
|
public List<Guid> Ids { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// 是否同时隐藏后续消息(同一会话中时间大于当前消息的所有消息)
|
|
/// </summary>
|
|
public bool IsDeleteSubsequent { get; set; } = false;
|
|
} |