using System;
namespace FrameworkDAL.DTO.EIPConversation
{
///
/// Admin CRUD DTO for MEIPCHANNELENDPOINT — the per-tenant channel provider config
/// (WhatsApp/SMS sender number, provider name/config) that Routing Rules resolve against
/// when dispatching a message on a given channel.
///
public class EIPChannelEndpointAdminDTO
{
public int EndpointId { get; set; }
public int TenantId { get; set; }
/// 0=Postman(test), 1=WhatsApp, 2=Teams, 3=Telegram, 4=Slack, 5=SMS.
public byte ChannelType { get; set; } = 1;
/// 1=Customer, 2=Service, 3=Internal.
public byte EndpointPurpose { get; set; } = 1;
public string? PhoneNumber { get; set; }
public string? ProviderName { get; set; }
public string? ProviderConfigJson { get; set; }
/// 0=No, 1=Yes.
public byte IsActive { get; set; } = 1;
public short Version { get; set; }
/// 0=Pending, 1=Active, 2=Deleted, 3=Amended, 4=Inactive, 5=Archived.
public byte Status { get; set; } = 1;
public int? CreatedById { get; set; }
public string? CreatedByName { get; set; }
public DateTime CreatedOn { get; set; }
public int? ModifiedById { get; set; }
public string? ModifiedByName { get; set; }
public DateTime? ModifiedOn { get; set; }
}
}