main
Last change
on this file since 7fafead was 7fafead, checked in by Test <matonikolov77@…>, 2 years ago |
Resolving models
|
-
Property mode
set to
100644
|
File size:
474 bytes
|
Line | |
---|
1 | package com.wediscussmovies.project.model;
|
---|
2 |
|
---|
3 | import javax.persistence.Column;
|
---|
4 | import javax.persistence.GeneratedValue;
|
---|
5 | import javax.persistence.GenerationType;
|
---|
6 | import javax.persistence.Id;
|
---|
7 | import java.io.Serializable;
|
---|
8 |
|
---|
9 | public class RepliesEntityPK implements Serializable {
|
---|
10 | @Id
|
---|
11 | @Column(name = "discussion_id")
|
---|
12 | private Long discussionId;
|
---|
13 | @Id
|
---|
14 | @GeneratedValue(strategy = GenerationType.IDENTITY)
|
---|
15 | @Column(name = "reply_id")
|
---|
16 | private Long replyId;
|
---|
17 |
|
---|
18 |
|
---|
19 |
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.