Ignore:
Timestamp:
08/24/26 20:57:09 (13 days ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Parents:
a6e33d1
Message:

Added corrected entitef from the ER diagram and changes for the logic to be coresponding to the ddl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ChapterX.API/DTOs/CollaborationDto.cs

    ra6e33d1 re882b92  
    77        public int UserId { get; set; }
    88        public int StoryId { get; set; }
     9        public string Role { get; set; } = string.Empty;
     10        public int? PermissionLevel { get; set; }
    911        public DateTime CreatedAt { get; set; }
    1012
     
    1214        public UserDto User { get; set; } = null!;
    1315        public StoryDto Story { get; set; } = null!;
    14         public ICollection<RolesDto> Roles { get; set; } = [];
    15         public ICollection<PermissionLevelDto> PermissionLevels { get; set; } = [];
    1616    }
    1717}
Note: See TracChangeset for help on using the changeset viewer.