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