添加项目文件。
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
|
||||
namespace AdminApplication.DTOs;
|
||||
|
||||
public class CustomerDto
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string? UserId { get; set; }
|
||||
|
||||
public string? UserName { get; set; }
|
||||
|
||||
public int Status { get; set; }
|
||||
|
||||
public string? Avatar { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
|
||||
public class ConversationDto
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string? UserId { get; set; }
|
||||
|
||||
public string? UserName { get; set; }
|
||||
|
||||
public string? UserAvatar { get; set; }
|
||||
|
||||
public string? CustomerId { get; set; }
|
||||
|
||||
public string? CustomerName { get; set; }
|
||||
|
||||
public string? CustomerAvatar { get; set; }
|
||||
|
||||
public int Status { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
public DateTime? EndTime { get; set; }
|
||||
}
|
||||
|
||||
public class MessageDto
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public string? ConversationId { get; set; }
|
||||
|
||||
public int SenderType { get; set; }
|
||||
|
||||
public string? SenderId { get; set; }
|
||||
|
||||
public string? SenderName { get; set; }
|
||||
|
||||
public string? SenderAvatar { get; set; }
|
||||
|
||||
public int ContentType { get; set; }
|
||||
|
||||
public string? Content { get; set; }
|
||||
|
||||
public DateTime CreateTime { get; set; }
|
||||
}
|
||||
|
||||
public class DeleteMessagesBatchRequest
|
||||
{
|
||||
public List<string> Ids { get; set; } = new List<string>();
|
||||
}
|
||||
Reference in New Issue
Block a user