-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// | ||
// ReportCase.swift | ||
// Presentation | ||
// | ||
// Created by 한지석 on 10/21/24. | ||
// Copyright © 2024 com.recordy. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
enum ReportCase: CaseIterable { | ||
/// 스팸 게시물 | ||
case spam | ||
/// 음란물 게시물 | ||
case pornography | ||
/// 불법 게시물 | ||
case illegal | ||
/// 욕설 게시물 | ||
case swear | ||
/// 개인정보 위반 | ||
case privacy | ||
/// 불쾌한 | ||
case unpleasant | ||
/// 기타 | ||
case etc | ||
|
||
var title: String { | ||
switch self { | ||
case .spam: | ||
"스팸 홍보/도배입니다." | ||
case .pornography: | ||
"음란물입니다." | ||
case .illegal: | ||
"불법 정보를 포함하고 있습니다." | ||
case .swear: | ||
"욕설/생명 경시/혐오/차별적인 표현입니다," | ||
case .privacy: | ||
"개인정보가 노출되어있습니다." | ||
case .unpleasant: | ||
"불쾌한 표현이 있습니다." | ||
case .etc: | ||
"기타" | ||
} | ||
} | ||
} |