Class Box

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

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

    • Box

      public Box()
  • Method Details

    • getBoxId

      public String getBoxId()
    • setBoxId

      public void setBoxId(String boxId)
    • withBoxId

      public Box withBoxId(String boxId)
    • getPrizeTableName

      public String getPrizeTableName()
    • setPrizeTableName

      public void setPrizeTableName(String prizeTableName)
    • withPrizeTableName

      public Box withPrizeTableName(String prizeTableName)
    • getIndex

      public Integer getIndex()
    • setIndex

      public void setIndex(Integer index)
    • withIndex

      public Box withIndex(Integer index)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • withUserId

      public Box withUserId(String userId)
    • getDrawnIndexes

      public List<Integer> getDrawnIndexes()
    • setDrawnIndexes

      public void setDrawnIndexes(List<Integer> drawnIndexes)
    • withDrawnIndexes

      public Box withDrawnIndexes(List<Integer> drawnIndexes)
    • getCreatedAt

      public Long getCreatedAt()
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • withCreatedAt

      public Box withCreatedAt(Long createdAt)
    • getUpdatedAt

      public Long getUpdatedAt()
    • setUpdatedAt

      public void setUpdatedAt(Long updatedAt)
    • withUpdatedAt

      public Box withUpdatedAt(Long updatedAt)
    • fromJson

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

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

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

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

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