generated from Bamdoliro/repository-generator
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#81) : SendMessageByTypeRequest 추가
- SendMessageByTypeRequest DTO를 추가했어요.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...in/java/com/bamdoliro/maru/presentation/message/dto/request/SendMessageByTypeRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|