BoardDTO
페이지 정보
본문
package web.dto;
import java.time.LocalDateTime;
import java.util.List;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BoardDTO {
private Long bno;
@NotEmpty
@Size(min=1, max=255)
private String title;
@NotEmpty
private String content;
@NotEmpty
private String writer;
private Integer cnt;
private LocalDateTime regDate;
private LocalDateTime modDate;
private List<String> fileNames; //첨부파일 이름들
}
- 이전글Board ( cnt 칼럼 추가 ) 24.07.02
- 다음글BoardListAllDTO 24.07.02
댓글목록
등록된 댓글이 없습니다.