Skip to content

Commit

Permalink
feat(#81) : SendMessageByTypeRequest 추가
Browse files Browse the repository at this point in the history
- SendMessageByTypeRequest DTO를 추가했어요.
  • Loading branch information
jyj1289 committed May 30, 2024
1 parent 5beb8ba commit 68b8f9a
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package com.bamdoliro.maru.presentation.message.dto.request;

import com.bamdoliro.maru.domain.form.domain.type.FormType;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public class SendMessageByTypeRequest {

@NotBlank(message = "필수값입니다.")
private String title;

@NotBlank(message = "필수값입니다.")
private String text;

@NotNull(message = "필수값입니다.")
private FormType formType;

@NotNull(message = "필수값입니다.")
private boolean isChangeToRegular;
}

0 comments on commit 68b8f9a

Please sign in to comment.