SPMS_API/SPMS.Application/DTOs/Message/MessageValidateRequestDto.cs
SEAN ce7b8b3d35 feat: 메시지 유효성 검사 서비스 구현 (#118)
- MessageValidationService: title/body/image_url/link_url/link_type/data 검증
- POST /v1/in/message/validate 엔드포인트 추가
- MessageController 기반 구성

Closes #118
2026-02-10 17:15:57 +09:00

21 lines
436 B
C#

using System.ComponentModel.DataAnnotations;
namespace SPMS.Application.DTOs.Message;
public class MessageValidateRequestDto
{
[Required]
public string Title { get; set; } = string.Empty;
[Required]
public string Body { get; set; } = string.Empty;
public string? ImageUrl { get; set; }
public string? LinkUrl { get; set; }
public string? LinkType { get; set; }
public string? Data { get; set; }
}