SPMS_API/SPMS.Application/DTOs/Service/ServiceResponseDto.cs
SEAN 1ca4980293 improvement: 태그 관리 API 프론트엔드 연동 수정 (#267)
- TagSummaryDto에 tag_index 필드 추가 (서비스별 Id 순서 1-based 동적 계산)
- ServiceSummaryDto/ServiceResponseDto에 service_id 필드 추가
- ServiceCodeMiddleware OPTIONAL_FOR_ADMIN에 /v1/in/tag 경로 추가

Closes #267
2026-03-02 13:43:14 +09:00

29 lines
1.2 KiB
C#

namespace SPMS.Application.DTOs.Service;
public class ServiceResponseDto
{
public long ServiceId { get; set; }
public string ServiceCode { get; set; } = string.Empty;
public string ServiceName { get; set; } = string.Empty;
public string? Description { get; set; }
public string ApiKey { get; set; } = string.Empty;
public DateTime ApiKeyCreatedAt { get; set; }
public string? ApnsBundleId { get; set; }
public string? ApnsKeyId { get; set; }
public string? ApnsTeamId { get; set; }
public string? ApnsAuthType { get; set; }
public bool HasApnsKey { get; set; }
public bool HasFcmCredentials { get; set; }
public PlatformSummaryDto? Platforms { get; set; }
public string? WebhookUrl { get; set; }
public string? Tags { get; set; }
public string SubTier { get; set; } = string.Empty;
public DateTime? SubStartedAt { get; set; }
public string Status { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
public string CreatedByName { get; set; } = string.Empty;
public DateTime? UpdatedAt { get; set; }
public int DeviceCount { get; set; }
public List<string> AllowedIps { get; set; } = new();
}