Class Toc

java.lang.Object
io.gs2.dictionary.model.Toc
All Implemented Interfaces:
IModel, Serializable, Comparable<Toc>

public class Toc extends Object implements IModel, Serializable, Comparable<Toc>
See Also:
  • Constructor Details

    • Toc

      public Toc()
  • Method Details

    • getTocId

      public String getTocId()
    • setTocId

      public void setTocId(String tocId)
    • withTocId

      public Toc withTocId(String tocId)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Toc withUserId(String userId)
    • getIndex

      public Integer getIndex()
    • setIndex

      public void setIndex(Integer index)
    • withIndex

      public Toc withIndex(Integer index)
    • getEntries

      public List<Entry> getEntries()
    • setEntries

      public void setEntries(List<Entry> entries)
    • withEntries

      public Toc withEntries(List<Entry> entries)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Toc withCreatedAt(Long createdAt)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • withUpdatedAt

      public Toc withUpdatedAt(Long updatedAt)
    • fromJson

      public static Toc fromJson(com.fasterxml.jackson.databind.JsonNode data)
    • toJson

      public com.fasterxml.jackson.databind.JsonNode toJson()
    • compareTo

      public int compareTo(Toc o)
      Specified by:
      compareTo in interface Comparable<Toc>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object