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
|
Rev | Line | |
---|
[2d57cad] | 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
|
---|
[7fafead] | 11 | @Column(name = "discussion_id")
|
---|
| 12 | private Long discussionId;
|
---|
[2d57cad] | 13 | @Id
|
---|
| 14 | @GeneratedValue(strategy = GenerationType.IDENTITY)
|
---|
[7fafead] | 15 | @Column(name = "reply_id")
|
---|
| 16 | private Long replyId;
|
---|
[2d57cad] | 17 |
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.