CommentConstant.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. namespace Domain.Entities.Forum.Constants;
  2. /// <summary>
  3. /// 댓글 설정 상수
  4. /// </summary>
  5. public static class CommentConstant
  6. {
  7. /// <summary>
  8. /// 기본 출력 댓글 수
  9. /// </summary>
  10. public const int DefaultPerPage = 10;
  11. /// <summary>
  12. /// 최대 출력 댓글 수
  13. /// </summary>
  14. public const byte MaxPerPage = 50;
  15. /// <summary>
  16. /// 최대 댓글 길이
  17. /// </summary>
  18. public const ushort MaxAllowedContentLength = 10000;
  19. /// <summary>
  20. /// 최대 이미지 입력 제한 수
  21. /// </summary>
  22. public const byte MaxAllowedImages = 10;
  23. /// <summary>
  24. /// 최대 이미지 용량 (KB)
  25. /// </summary>
  26. public const int MaxAllowedImageSize = 51200;
  27. /// <summary>
  28. /// 허용 이미지 확장자
  29. /// </summary>
  30. public const string AllowedImageExtensions = "jpg,jpeg,gif,png";
  31. /// <summary>
  32. /// 최대 미디어 입력 제한 수
  33. /// </summary>
  34. public const byte MaxAllowedMedias = 20;
  35. /// <summary>
  36. /// 최대 파일 입력 제한 수
  37. /// </summary>
  38. public const byte MaxAllowedFiles = 5;
  39. /// <summary>
  40. /// 최대 파일 용량 (KB)
  41. /// </summary>
  42. public const int MaxAllowedFileSize = 204800;
  43. }