본문 바로가기
개발/Spring

[SpringBoot+IntelliJ+Oracle+Thymeleaf+Paging] 웹 게시판 만들기(5) - Vo

by 코딩하는 흰둥이 2023. 4. 20.

이전글

https://greed-yb.tistory.com/212

 

[SpringBoot+IntelliJ+Oracle+Thymeleaf+Paging] 웹 게시판 만들기(4) - Mapper , DB 생성

https://greed-yb.tistory.com/211 [SpringBoot+IntelliJ+Oracle+Thymeleaf+Paging] 웹 게시판 만들기(3) - Service https://greed-yb.tistory.com/210 [SpringBoot+IntelliJ+Oracle+Thymeleaf+Paging] 웹 게시판 만들기(1) - Controller https://greed-yb.tist

greed-yb.tistory.com

 

 

 

Vo.java
package com.example.practice.vo;

public class BoardVo {

    private Integer b_num;

    private String b_name;

    private String b_title;

    private String b_content;

    private String b_date;

    public Integer getB_num() {
        return b_num;
    }

    public void setB_num(Integer b_num) {
        this.b_num = b_num;
    }

    public String getB_name() {
        return b_name;
    }

    public void setB_name(String b_name) {
        this.b_name = b_name;
    }

    public String getB_title() {
        return b_title;
    }

    public void setB_title(String b_title) {
        this.b_title = b_title;
    }

    public String getB_content() {
        return b_content;
    }

    public void setB_content(String b_content) {
        this.b_content = b_content;
    }

    public String getB_date() {
        return b_date;
    }

    public void setB_date(String b_date) {
        this.b_date = b_date;
    }

    @Override
    public String toString() {
        return "BoardVo{" +
                "b_num=" + b_num +
                ", b_name='" + b_name + '\'' +
                ", b_title='" + b_title + '\'' +
                ", b_content='" + b_content + '\'' +
                ", b_date='" + b_date + '\'' +
                '}';
    }
}

 

댓글