- MessageValidationService: title/body/image_url/link_url/link_type/data 검증 - POST /v1/in/message/validate 엔드포인트 추가 - MessageController 기반 구성 Closes #118
21 lines
436 B
C#
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; }
|
|
}
|