@Entity public class StoryEntity extends Object
| Constructor and Description |
|---|
StoryEntity() |
StoryEntity(Integer id,
String title,
String text,
Gender gender,
Topic topic1,
Topic topic2,
UserEntity author,
Date publicationDate) |
| Modifier and Type | Method and Description |
|---|---|
UserEntity |
getAuthor() |
Gender |
getGender() |
Integer |
getId() |
Date |
getPublicationDate() |
String |
getText() |
String |
getTitle() |
Topic |
getTopic1() |
Topic |
getTopic2() |
List<ViewEntity> |
getViews() |
public Integer getId()
public String getTitle()
public String getText()
public Gender getGender()
public Topic getTopic1()
public Topic getTopic2()
public UserEntity getAuthor()
public Date getPublicationDate()
public List<ViewEntity> getViews()
Copyright © 2023. All rights reserved.