@@ -7,16 +7,17 @@ namespace MiniSpace.Services.Posts.Application.Events
7
7
public class PostCreated : IEvent
8
8
{
9
9
public Guid PostId { get ; }
10
- public Guid ? UserId { get ; }
11
- public Guid ? OrganizationId { get ; }
12
- public Guid ? EventId { get ; }
13
- public string TextContent { get ; }
14
- public IEnumerable < string > MediaFilesUrls { get ; }
15
- public string Context { get ; }
16
- public string Visibility { get ; }
10
+ public Guid ? UserId { get ; }
11
+ public Guid ? OrganizationId { get ; }
12
+ public Guid ? EventId { get ; }
13
+ public string TextContent { get ; }
14
+ public IEnumerable < string > MediaFilesUrls { get ; }
15
+ public string Context { get ; }
16
+ public string Visibility { get ; }
17
+ public bool ShouldNotify { get ; }
17
18
18
19
public PostCreated ( Guid postId , Guid ? userId , Guid ? organizationId , Guid ? eventId , string textContent ,
19
- IEnumerable < string > mediaFilesUrls , string context , string visibility )
20
+ IEnumerable < string > mediaFilesUrls , string context , string visibility , bool shouldNotify )
20
21
{
21
22
PostId = postId ;
22
23
UserId = userId ;
@@ -26,6 +27,7 @@ public PostCreated(Guid postId, Guid? userId, Guid? organizationId, Guid? eventI
26
27
MediaFilesUrls = mediaFilesUrls ;
27
28
Context = context ;
28
29
Visibility = visibility ;
30
+ ShouldNotify = shouldNotify ;
29
31
}
30
32
}
31
33
}
0 commit comments