- DeleteServiceRequestDto 생성 (service_code 필수) - IServiceManagementService에 DeleteAsync 메서드 추가 - ServiceManagementService에 Soft Delete 로직 구현 (IsDeleted=true, DeletedAt=UtcNow, Status=Suspended) - ServiceController에 POST /v1/in/service/delete 엔드포인트 추가 Closes #68
12 lines
336 B
C#
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;
|
|
}
|