23 lines
858 B
C#
23 lines
858 B
C#
namespace TaxBaik.Application.DTOs;
|
|
|
|
public static class ValidationRules
|
|
{
|
|
public const int NameMaxLength = 100;
|
|
public const int PhoneMaxLength = 20;
|
|
public const int ServiceTypeMaxLength = 50;
|
|
public const int MessageMaxLength = 5000;
|
|
public const int MessageMinLength = 10;
|
|
public const int MemoMaxLength = 1000;
|
|
public const int TitleMaxLength = 100;
|
|
public const int QuestionMaxLength = 300;
|
|
public const int ContentMaxLength = 30000;
|
|
public const int TagsMaxLength = 500;
|
|
public const int SeoTitleMaxLength = 120;
|
|
public const int SeoDescriptionMaxLength = 300;
|
|
public const int ContractNumberMaxLength = 50;
|
|
public const int RiskLevelMaxLength = 20;
|
|
|
|
public const string KoreanPhonePattern =
|
|
@"^(0(?:2|3[1-3]|4[1-4]|5[1-5]|6[1-4]|70|50[5-9]|[7-9](?:\d{1,2})?)\d{7,8}|0\d{9,10})$";
|
|
}
|