sozsoft-platform/api/src/Sozsoft.Platform.Application.Contracts/Intranet/CreateSocialPostInput.cs
Sedat ÖZTÜRK bc192a584b SocialWall
2026-05-06 16:47:18 +03:00

37 lines
920 B
C#

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