32 lines
782 B
C#
32 lines
782 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 MockPhotoPost : MockPost
|
|
{
|
|
private string description;
|
|
private string filePath;
|
|
|
|
public MockPhotoPost(object user, Dictionary<int, List<object>> reactions, List<object> mentionedUsers, string title, string description, string photo)
|
|
: base(user, reactions, mentionedUsers, title)
|
|
{
|
|
this.description = description;
|
|
this.filePath = photo;
|
|
}
|
|
|
|
public string GetPhoto()
|
|
{
|
|
return filePath;
|
|
}
|
|
|
|
public string GetDescription()
|
|
{
|
|
return description;
|
|
}
|
|
}
|
|
}
|