Files
School/Anul 2/Semestrul 2/ISS/Lab5/CasualProfile/District 3 App/Entities/Mocks/MockPost.cs
T
2024-08-31 12:07:21 +03:00

35 lines
905 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace District_3_App.Enitities.Mocks
{
public class MockPost
{
private Guid postId;
private object user;
private Dictionary<int, List<object>> reactions;
private List<object> mentionedUsers;
private string title;
public MockPost(object user, Dictionary<int, List<object>> reactions, List<object> mentionedUsers, string title)
{
this.postId = Guid.NewGuid();
this.user = user;
this.reactions = reactions;
this.mentionedUsers = mentionedUsers;
this.title = title;
}
public Guid GetPostId()
{
return postId;
}
public void SetPostId(Guid postId)
{
this.postId = postId;
}
}
}