using System.Collections.Generic;
namespace Sozsoft.Platform.Intranet;
public class CreateSocialPostInput
{
public string Content { get; set; } = string.Empty;
///
/// JSON string containing location data (name, address, lat, lng, placeId).
///
public string? LocationJson { get; set; }
public CreateSocialPostMediaInput? Media { get; set; }
}
public class CreateSocialPostMediaInput
{
///
/// "image", "video", or "poll"
///
public string Type { get; set; } = string.Empty;
///
/// URLs for image/video type media.
///
public string[]? Urls { get; set; }
// Poll fields
public string? PollQuestion { get; set; }
public List? PollOptions { get; set; }
}
public class CreateSocialPollOptionInput
{
public string Text { get; set; } = string.Empty;
}