Package io.gs2.lottery.model
Class Box
java.lang.Object
io.gs2.lottery.model.Box
- All Implemented Interfaces:
IModel,Serializable,Comparable<Box>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic BoxfromJson(com.fasterxml.jackson.databind.JsonNode data) getBoxId()getIndex()inthashCode()voidvoidsetCreatedAt(Long createdAt) voidsetDrawnIndexes(List<Integer> drawnIndexes) voidvoidsetPrizeTableName(String prizeTableName) voidsetUpdatedAt(Long updatedAt) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withDrawnIndexes(List<Integer> drawnIndexes) withPrizeTableName(String prizeTableName) withUpdatedAt(Long updatedAt) withUserId(String userId)
-
Constructor Details
-
Box
public Box()
-
-
Method Details
-
getBoxId
-
setBoxId
-
withBoxId
-
getPrizeTableName
-
setPrizeTableName
-
withPrizeTableName
-
getIndex
-
setIndex
-
withIndex
-
getUserId
-
setUserId
-
withUserId
-
getDrawnIndexes
-
setDrawnIndexes
-
withDrawnIndexes
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Box>
-
hashCode
public int hashCode() -
equals
-