source: ChapterX.Domain/DTOs/CollaborationDto.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: 444 bytes
Line 
1namespace ChapterX.API.DTOs
2{
3 public class CollaborationDto
4 {
5 public int UserId { get; set; }
6 public int StoryId { get; set; }
7 public string Role { get; set; } = string.Empty;
8 public int? PermissionLevel { get; set; }
9 public DateTime CreatedAt { get; set; }
10
11 // Navigation
12 public UserDto User { get; set; } = null!;
13 public StoryDto Story { get; set; } = null!;
14 }
15}
Note: See TracBrowser for help on using the repository browser.