| 3 | namespace SearchService.Models; |
| 4 | |
| 5 | public class SearchQuestion |
| 6 | { |
| 7 | [JsonPropertyName("id")] |
| 8 | public required string Id { get; set; } |
| 9 | |
| 10 | [JsonPropertyName("title")] |
| 11 | public required string Title { get; set; } |
| 12 | |
| 13 | [JsonPropertyName("content")] |
| 14 | public required string Content { get; set; } |
| 15 | |
| 16 | [JsonPropertyName("tags")] |
| 17 | public string[] Tags { get; set; } = []; |
| 18 | |
| 19 | [JsonPropertyName("createdAt")] |
| 20 | public long CreatedAt { get; set; } |
| 21 | |
| 22 | [JsonPropertyName("hasAcceptedAnswer")] |
| 23 | public bool HasAcceptedAnswer { get; set; } |
| 24 | |
| 25 | [JsonPropertyName("answerCount")] |
| 26 | public int AnswerCount { get; set; } |
| 27 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…