using System.ComponentModel.DataAnnotations; namespace TarninaHub.Application.Dtos; public sealed record CreateSubmissionRequest( [Required, StringLength(200, MinimumLength = 3)] string Title, [Required, StringLength(4000, MinimumLength = 10)] string Description, [Required] string ChallengeId, [Required] string LocationId, IReadOnlyList? Keywords); public sealed record UpdateSubmissionStatusRequest( [Required] string Status); public sealed record SubmissionResponse( string Id, string ProblemId, string Title, string Description, string ChallengeId, string LocationId, string AuthorId, string Status, IReadOnlyList Keywords, DateTimeOffset CreatedAt, DateTimeOffset? UpdatedAt);