SPMS_API/SPMS.Application/DTOs/Service/DeleteServiceRequestDto.cs
SEAN 65f2f914e7 feat: 서비스 삭제 API 구현 (#68)
- DeleteServiceRequestDto 생성 (service_code 필수)
- IServiceManagementService에 DeleteAsync 메서드 추가
- ServiceManagementService에 Soft Delete 로직 구현
  (IsDeleted=true, DeletedAt=UtcNow, Status=Suspended)
- ServiceController에 POST /v1/in/service/delete 엔드포인트 추가

Closes #68
2026-02-10 11:18:07 +09:00

12 lines
336 B
C#

using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace SPMS.Application.DTOs.Service;
public class DeleteServiceRequestDto
{
[Required(ErrorMessage = "서비스 코드는 필수입니다.")]
[JsonPropertyName("service_code")]
public string ServiceCode { get; set; } = string.Empty;
}