source: ChapterX.Domain/Entities/AISuggestion.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: 784 bytes
Line 
1using ChapterX.Domain.Shared;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace ChapterX.Domain.Entities
9{
10 public class AISuggestion : IEntity
11 {
12 public int Id { get; set; }
13 public string OriginalText { get; set; } = string.Empty;
14 public string SuggestedText { get; set; } = string.Empty;
15 public string SuggestionType { get; set; } = string.Empty;
16 public bool? Accepted { get; set; }
17 public DateTime CreatedAt { get; set; }
18 public DateTime? AppliedAt { get; set; }
19
20 public int StoryId { get; set; }
21 public Story Story { get; set; } = null!;
22 public ICollection<NeedApproval> NeedApprovals { get; set; } = [];
23
24 }
25}
Note: See TracBrowser for help on using the repository browser.