Created
January 6, 2017 05:48
-
-
Save enujo/e78bf0006393158c5815fb06e14b750b to your computer and use it in GitHub Desktop.
spring mvc insert
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
package com.tistory.luahius.service; | |
public class Board { | |
private int boardNo; | |
private String boardPw; | |
private String boardTitle; | |
private String boardContent; | |
private String boardUser; | |
private String boardDate; | |
public int getBoardNo() { | |
return boardNo; | |
} | |
public void setBoardNo(int boardNo) { | |
this.boardNo = boardNo; | |
} | |
public String getBoardPw() { | |
return boardPw; | |
} | |
public void setBoardPw(String boardPw) { | |
this.boardPw = boardPw; | |
} | |
public String getBoardTitle() { | |
return boardTitle; | |
} | |
public void setBoardTitle(String boardTitle) { | |
this.boardTitle = boardTitle; | |
} | |
public String getBoardContent() { | |
return boardContent; | |
} | |
public void setBoardContent(String boardContent) { | |
this.boardContent = boardContent; | |
} | |
public String getBoardUser() { | |
return boardUser; | |
} | |
public void setBoardUser(String boardUser) { | |
this.boardUser = boardUser; | |
} | |
public String getBoardDate() { | |
return boardDate; | |
} | |
public void setBoardDate(String boardDate) { | |
this.boardDate = boardDate; | |
} | |
@Override | |
public String toString() { | |
return "Board [boardNo=" + boardNo + ",\n boardPw=" + boardPw + ",\n boardTitle=" + boardTitle + ",\n boardContent=" | |
+ boardContent + ",\n boardUser=" + boardUser + ",\n boardDate=" + boardDate + "]\n\n"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment