SPMS_API/SPMS.Application/DTOs/Service/CreateServiceRequestDto.cs

14 lines
473 B
C#

using System.ComponentModel.DataAnnotations;
namespace SPMS.Application.DTOs.Service;
public class CreateServiceRequestDto
{
[Required(ErrorMessage = "서비스명은 필수입니다.")]
[StringLength(100, ErrorMessage = "서비스명은 100자 이내여야 합니다.")]
public string ServiceName { get; set; } = string.Empty;
[StringLength(500, ErrorMessage = "설명은 500자 이내여야 합니다.")]
public string? Description { get; set; }
}