source: Git/src/main/java/com/wediscussmovies/project/model/RepliesEntityPK.java@ 7fafead

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 
1package com.wediscussmovies.project.model;
2
3import javax.persistence.Column;
4import javax.persistence.GeneratedValue;
5import javax.persistence.GenerationType;
6import javax.persistence.Id;
7import java.io.Serializable;
8
9public 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.