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