Changeset 6f91f99 in Git for src/main/java/com/wediscussmovies/project/model
- Timestamp:
- 02/09/22 15:46:58 (3 years ago)
- Branches:
- main
- Children:
- 8f1b7e9
- Parents:
- 967b414
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/model/Discussion.java
r967b414 r6f91f99 1 1 package com.wediscussmovies.project.model; 2 2 3 import com.wediscussmovies.project.model.relation.DiscussionLikes; 3 4 import lombok.Data; 4 5 5 6 import javax.persistence.*; 6 7 import java.sql.Date; 8 import java.util.List; 7 9 import java.util.Objects; 8 10 … … 29 31 30 32 33 34 35 31 36 @ManyToOne 32 37 @JoinColumn(name = "movie_id") … … 41 46 private Person person; 42 47 48 @Transient 49 private Long likes; 50 43 51 public Discussion(Character type, String text, String title, Date date, User user) { 44 52 this.type = type; … … 52 60 } 53 61 54 public String getText() {55 return text;56 }57 58 public void setText(String text) {59 this.text = text;60 }61 62 public String getTitle() {63 return title;64 }65 66 public void setTitle(String title) {67 this.title = title;68 }69 70 public Date getDate() {71 return date;72 }73 74 public void setDate(Date date) {75 this.date = date;76 }77 62 78 63 @Override
Note:
See TracChangeset
for help on using the changeset viewer.