51 lines
2.2 KiB
C#
51 lines
2.2 KiB
C#
namespace Taloyhtio.GeneralApi.Core.Common
|
|
{
|
|
public static class Constants
|
|
{
|
|
public static class DataAccess
|
|
{
|
|
public static class Condo
|
|
{
|
|
public const int BUSINESS_ID_MAX_LENGTH = 256;
|
|
public const int BUSINESS_ID_PMC_MAX_LENGTH = 256;
|
|
public const int OFFICIAL_NAME_MAX_LENGTH = 256;
|
|
public const int SITE_URL_MAX_LENGTH = 2048;
|
|
public const int ADDRESS_MAX_LENGTH = 1024;
|
|
public const int POSTCODE_MAX_LENGTH = 32;
|
|
public const int TOWN_MAX_LENGTH = 256;
|
|
public const int BUILDINGS_TYPE_MAX_LENGTH = 1024;
|
|
}
|
|
|
|
public static class BoardMember
|
|
{
|
|
public const int FIRST_NAME_MAX_LENGTH = 256;
|
|
public const int LAST_NAME_MAX_LENGTH = 256;
|
|
public const int ADDRESS_MAX_LENGTH = 1024;
|
|
public const int POSTCODE_MAX_LENGTH = 32;
|
|
public const int TOWN_MAX_LENGTH = 256;
|
|
public const int FLAT_NUMBER_MAX_LENGTH = 32;
|
|
public const int EMAIL_MAX_LENGTH = 256;
|
|
public const int MOBILE_MAX_LENGTH = 256;
|
|
}
|
|
}
|
|
|
|
public static class SettingsKeys
|
|
{
|
|
public static string KEY_EMAIL_CONDO_STATUS_CHANGED_SUBJECT = "CondoStatusChangedSubj";
|
|
public static string KEY_EMAIL_CONDO_STATUS_CHANGED_BODY_TEMPLATE = "CondoStatusChangedBodyTemplate";
|
|
public static string KEY_EMAIL_BOARD_MEMBER_STATUS_CHANGED_SUBJECT = "BoardMemberStatusChangedSubj";
|
|
public static string KEY_EMAIL_BOARD_MEMBER_STATUS_CHANGED_BODY_TEMPLATE = "BoardMemberStatusChangedBodyTemplate";
|
|
public static string KEY_EMAIL_BOARD_MEMBER_NEW_SUBJECT = "BoardMemberNewSubj";
|
|
public static string KEY_EMAIL_BOARD_MEMBER_NEW_BODY_TEMPLATE = "BoardMemberNewBodyTemplate";
|
|
public const string KEY_EMAIL_FROM = "EmailFrom";
|
|
public const string KEY_EMAIL_TO = "EmailTo";
|
|
}
|
|
|
|
public static class TemplateParams
|
|
{
|
|
public static string CONDO = "condo";
|
|
public static string BOARD_MEMBER = "boardMember";
|
|
}
|
|
}
|
|
}
|