namespace ECPBLL.Correspondence;
///
/// Constants for the Correspondence (ECP Phase 2) module. CorrespondenceEntityId mirrors
/// GB5Shared.GB5Constant.Constant.EntityConstant.OBJECTCORRESPONDENCE and the MENTITY seed row
/// added by 20260713_Correspondence_Phase1_Schema — keep these in sync.
///
public static class CorrespondenceConstants
{
public const int CorrespondenceEntityId = -1383600001;
///
/// ActionType handled by CorrespondenceActionHandler (FrameworkBLL/ActionProcessor/Handlers).
/// Verified free against ActionHandlerResolver at implementation time: 0=Email, 1=SMS,
/// 2=Webhook are the only IActionHandler implementations that exist in the repo.
///
public const int CorrespondenceActionType = 3;
public static class Direction
{
public const byte In = 1;
public const byte Out = 2;
}
public static class Mode
{
public const byte Mail = 1;
public const byte Sms = 2;
}
public static class ActionStatus
{
public const byte Pending = 1;
public const byte Processed = 2;
public const byte Failed = 3;
}
public static class RowStatus
{
public const byte Active = 1;
public const byte Deleted = 2;
}
}