Spring
-
[ MVC01 / Domain ] BoardVO.javaSpring 2022. 7. 22. 07:58
package com.smhrd.domain; import lombok.Data; import lombok.NoArgsConstructor; @Data //Getter/Setter/toString @NoArgsConstructor public class Board { //1. Class 필드명 == Table 컬럼 //2. 기본생성자 //글번호 private int idx; //제목 private String title; //작성자 private String writer; //내용 private String content; //작성일 private String indate; //조회수 private int count; }
-