SPMS_API/SPMS.Application/DTOs/Service/RegisterServiceResponseDto.cs
SEAN 4916488175 improvement: 서비스 통합 등록 플로우 구현 (#212)
- POST /v1/in/service/register 통합 등록 엔드포인트 추가
- RegisterServiceRequestDto/ResponseDto 신규 생성
- 서비스 생성 + FCM/APNs 자격증명을 트랜잭션으로 원자성 보장
- 검증 로직 private 메서드 추출 (기존 코드 재사용)
- 자격증명은 선택사항, 검증 실패 시 전체 롤백

Closes #212
2026-02-25 12:26:45 +09:00

24 lines
685 B
C#

namespace SPMS.Application.DTOs.Service;
public class RegisterServiceResponseDto
{
public string ServiceCode { get; set; } = string.Empty;
public string ServiceName { get; set; } = string.Empty;
public string ApiKey { get; set; } = string.Empty;
public DateTime ApiKeyCreatedAt { get; set; }
public string Status { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
public PlatformResultDto Platforms { get; set; } = new();
}
public class PlatformResultDto
{
public PlatformStatusDto? Android { get; set; }
public PlatformStatusDto? Ios { get; set; }
}
public class PlatformStatusDto
{
public bool Registered { get; set; }
}