CommentSort.cs 282 B

123456789101112131415
  1. using System.ComponentModel.DataAnnotations;
  2. namespace Domain.Entities.Forum.ValueObject;
  3. /// <summary>
  4. /// 댓글 정렬 조건
  5. /// </summary>
  6. public enum CommentSort : byte
  7. {
  8. [Display(Name = "최신순")]
  9. CreatedAt = 0,
  10. [Display(Name = "인기순")]
  11. Score = 1
  12. }