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 PostBeanpostBeanpostBean is thePostBeanobject linked with this objectprotected java.lang.Stringtagtag is the post tag the user associates with the postprotected inttagIdtagId is aIntegerprimary key for the tags table in the databaseprotected WebAccountwebAccountwebAccount is theWebAccountobject 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 aIntegerprimary 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 theWebAccountobject linked with this object -
postBean
postBean is thePostBeanobject linked with this object
-
-
Constructor Details
-
Tag
public Tag()
-