source: ChapterX.Domain/DTOs/WriterDto.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: 320 bytes
Line 
1using ChapterX.API.DTOs;
2
3namespace ChapterX.Domain.DTOs
4{
5 public class WriterDto
6 {
7 public int UserId { get; set; }
8 public string? Bio { get; set; }
9
10 // Navigation
11 public UserDto User { get; set; } = null!;
12 public ICollection<StoryDto> Stories { get; set; } = [];
13 }
14}
Note: See TracBrowser for help on using the repository browser.