68 lines
1.3 KiB
C#
68 lines
1.3 KiB
C#
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>();
|
|
}
|