- IP 목록 조회, 추가, 삭제 API 구현 - IPv4 형식 검증 추가 - 중복 IP 체크 로직 추가 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
358 B
C#
15 lines
358 B
C#
namespace SPMS.Application.DTOs.Service;
|
|
|
|
public class IpListResponseDto
|
|
{
|
|
public string ServiceCode { get; set; } = string.Empty;
|
|
public List<ServiceIpDto> Items { get; set; } = new();
|
|
public int TotalCount { get; set; }
|
|
}
|
|
|
|
public class ServiceIpDto
|
|
{
|
|
public long Id { get; set; }
|
|
public string IpAddress { get; set; } = string.Empty;
|
|
}
|