SPMS_API/SPMS.Application/DTOs/Service/UpdateServiceRequestDto.cs
SEAN 17caeb08e2 improvement: 수정/삭제/진단 계약 확장 (#218)
- 플랫폼 자격증명 삭제 API 추가 (APNs/FCM 각각)
- 자격증명 진단 응답에 credentialStatus/statusReason 추가
- 수정 API에 Status 필드 추가 (원자적 상태 변경)
- Swagger Description 업데이트

Closes #218
2026-02-25 13:36:47 +09:00

26 lines
866 B
C#

using System.ComponentModel.DataAnnotations;
namespace SPMS.Application.DTOs.Service;
public class UpdateServiceRequestDto
{
[Required(ErrorMessage = "서비스 코드는 필수입니다.")]
public string ServiceCode { get; set; } = string.Empty;
[StringLength(100, ErrorMessage = "서비스명은 100자 이내여야 합니다.")]
public string? ServiceName { get; set; }
[StringLength(500, ErrorMessage = "설명은 500자 이내여야 합니다.")]
public string? Description { get; set; }
[StringLength(500, ErrorMessage = "웹훅 URL은 500자 이내여야 합니다.")]
public string? WebhookUrl { get; set; }
public string? Tags { get; set; }
/// <summary>
/// 서비스 상태 (0: Active, 1: Suspended). 제공 시 상태도 함께 변경됩니다.
/// </summary>
public int? Status { get; set; }
}