DTO/bean/vo

1. 게시판 board

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
 
 
import lombok.Data;
 
@Data
public class Board extends Pagination{
    
    private int boardId;
    public String bUsername;
    private String bTitle;
    private String bContent;
    private Timestamp bDate;
    private int bHit;
    private int bGroup;
    private int bIndent;
    private int bStep;
    
}
 
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
 
 

2. 회원 Boardmember

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 
 
import lombok.Data;
 
@Data
public class Boardmember {
    private int memberId;
    private String username;
    private String password;
    private String email;
    private String gender;
    private Timestamp joinDate;
    private Timestamp birthday;
    
}
 
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
 

3. 댓글 Comment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 
 
import lombok.Data;
 
@Data
public class Comment {
 
    private int commentId;
    private int boardId;
    private String username;
    private String content;
    private Timestamp cDate;
    private int cGroup;
    private int cIndent;
    private int cStep;
    private int cLike;
}
 
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
 

 

'ETC' 카테고리의 다른 글

Controller  (1) 2019.11.14
Service interface + ServiceImpl class  (0) 2019.11.14
Paging  (0) 2019.11.14
Mapper interface + Mapper xml  (0) 2019.11.14
Caleb Curry's Database design course  (0) 2019.11.08

+ Recent posts