2024-12-08 20:17:30 +01:00
|
|
|
// ReSharper disable NotAccessedPositionalProperty.Global
|
|
|
|
using Foxnouns.Backend.Database;
|
|
|
|
using Foxnouns.Backend.Utils;
|
|
|
|
|
|
|
|
namespace Foxnouns.Backend.Dto;
|
|
|
|
|
2024-12-09 14:52:31 +01:00
|
|
|
public record PrideFlagResponse(Snowflake Id, string? ImageUrl, string Name, string? Description);
|
2024-12-08 20:17:30 +01:00
|
|
|
|
|
|
|
public record CreateFlagRequest(string Name, string Image, string? Description);
|
|
|
|
|
|
|
|
public record CreateFlagResponse(Snowflake Id, string Name, string? Description);
|
|
|
|
|
|
|
|
public class UpdateFlagRequest : PatchRequest
|
|
|
|
{
|
|
|
|
public string? Name { get; init; }
|
|
|
|
public string? Description { get; init; }
|
|
|
|
}
|