source: ChapterX.API/DTOs/AISuggestionDto.cs@ e882b92

main
Last change on this file since e882b92 was e882b92, checked in by kikisrbinoska <srbinoskakristina07@…>, 13 days ago

Added corrected entitef from the ER diagram and changes for the logic to be coresponding to the ddl

  • Property mode set to 100644
File size: 664 bytes
RevLine 
[877c13c]1namespace ChapterX.API.DTOs
2{
3 public class AISuggestionDto
4 {
5 public int Id { get; set; }
6 public string OriginalText { get; set; } = string.Empty;
7 public string SuggestedText { get; set; } = string.Empty;
[e882b92]8 public string SuggestionType { get; set; } = string.Empty;
[877c13c]9 public bool Accepted { get; set; }
10 public DateTime CreatedAt { get; set; }
11 public DateTime? AppliedAt { get; set; }
12
13 // FK
14 public int StoryId { get; set; }
15
16 // Navigation
17 public StoryDto Story { get; set; } = null!;
18 public ICollection<NeedApprovalDto> NeedApprovals { get; set; } = [];
19 }
20}
Note: See TracBrowser for help on using the repository browser.