feat: 完成dto搭建

This commit is contained in:
ccnetcore
2025-06-21 13:20:13 +08:00
parent 25c88187a3
commit 1d16502d32
3 changed files with 17 additions and 9 deletions

View File

@@ -1,8 +1,7 @@
namespace Yi.Framework.AiHub.Application.Contracts.Dtos;
public class SessionInputDto
public class SessionCreateAndUpdateInput
{
public Guid UserId { get; set; }
public string SessionTitle { get; set; }
public string SessionContent { get; set; }
public string Remark { get; set; }

View File

@@ -1,6 +1,8 @@
namespace Yi.Framework.AiHub.Application.Contracts.Dtos;
using Yi.Framework.Ddd.Application.Contracts;
public class SessionGetListInput
namespace Yi.Framework.AiHub.Application.Contracts.Dtos;
public class SessionGetListInput:PagedAllResultRequestDto
{
public string? SessionTitle { get; set; }
}