21 lines
694 B
C#
21 lines
694 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SPMS.Application.DTOs.Service;
|
|
|
|
public class UpdateServiceRequestDto
|
|
{
|
|
[Required(ErrorMessage = "서비스 코드는 필수입니다.")]
|
|
public string ServiceCode { get; set; } = string.Empty;
|
|
|
|
[StringLength(100, ErrorMessage = "서비스명은 100자 이내여야 합니다.")]
|
|
public string? ServiceName { get; set; }
|
|
|
|
[StringLength(500, ErrorMessage = "설명은 500자 이내여야 합니다.")]
|
|
public string? Description { get; set; }
|
|
|
|
[StringLength(500, ErrorMessage = "웹훅 URL은 500자 이내여야 합니다.")]
|
|
public string? WebhookUrl { get; set; }
|
|
|
|
public string? Tags { get; set; }
|
|
}
|