Package com.patreonshout.beans
Class Tag
java.lang.Object
com.patreonshout.beans.Tag
@Entity
public class Tag
extends java.lang.Object
POJO that relates to the tags table in our database
-
Field Summary
Fields Modifier and Type Field Description protected PostBean
postBean
postBean is thePostBean
object linked with this objectprotected java.lang.String
tag
tag is the post tag the user associates with the postprotected int
tagId
tagId is aInteger
primary key for the tags table in the databaseprotected WebAccount
webAccount
webAccount is theWebAccount
object linked with this object -
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
tagId
protected int tagIdtagId is aInteger
primary key for the tags table in the database -
tag
protected java.lang.String tagtag is the post tag the user associates with the post -
webAccount
webAccount is theWebAccount
object linked with this object -
postBean
postBean is thePostBean
object linked with this object
-
-
Constructor Details
-
Tag
public Tag()
-