source: ChapterX.API/DTOs/CommentDto.cs@ 877c13c

main
Last change on this file since 877c13c was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago

Added files

  • Property mode set to 100644
File size: 490 bytes
Line 
1namespace ChapterX.API.DTOs
2{
3 public class CommentDto
4 {
5 public int Id { get; set; }
6 public string Content { get; set; } = string.Empty;
7 public DateTime CreatedAt { get; set; }
8 public DateTime UpdatedAt { get; set; }
9
10 // FK
11 public int UserId { get; set; }
12 public int StoryId { get; set; }
13
14 // Navigation
15 public UserDto User { get; set; } = null!;
16 public StoryDto Story { get; set; } = null!;
17 }
18}
Note: See TracBrowser for help on using the repository browser.