Parent Directory | Revision Log
Very basic picture service
1 | package dk.thoerup.pictureposterservice; |
2 | |
3 | import java.util.Date; |
4 | |
5 | import javax.persistence.*; |
6 | |
7 | |
8 | |
9 | @Entity |
10 | @Table(name="comment") |
11 | public class Comment { |
12 | @Id |
13 | @GeneratedValue(strategy=GenerationType.IDENTITY) |
14 | int id; |
15 | |
16 | @Column(name="author") |
17 | String author; |
18 | |
19 | @Column(name="comment") |
20 | String comment; |
21 | |
22 | @Column(name="commenttime") |
23 | Date commentTime; |
24 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |