Package io.gs2.lottery.model
Class Prize
java.lang.Object
io.gs2.lottery.model.Prize
- All Implemented Interfaces:
IModel,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PrizefromJson(com.fasterxml.jackson.databind.JsonNode data) getType()inthashCode()voidsetAcquireActions(List<AcquireAction> acquireActions) voidsetDrawnLimit(Integer drawnLimit) voidsetLimitFailOverPrizeId(String limitFailOverPrizeId) voidsetPrizeId(String prizeId) voidsetPrizeTableName(String prizeTableName) voidvoidcom.fasterxml.jackson.databind.JsonNodetoJson()withAcquireActions(List<AcquireAction> acquireActions) withDrawnLimit(Integer drawnLimit) withLimitFailOverPrizeId(String limitFailOverPrizeId) withPrizeId(String prizeId) withPrizeTableName(String prizeTableName) withWeight(Integer weight)
-
Constructor Details
-
Prize
public Prize()
-
-
Method Details
-
getPrizeId
-
setPrizeId
-
withPrizeId
-
getType
-
setType
-
withType
-
getAcquireActions
-
setAcquireActions
-
withAcquireActions
-
getDrawnLimit
-
setDrawnLimit
-
withDrawnLimit
-
getLimitFailOverPrizeId
-
setLimitFailOverPrizeId
-
withLimitFailOverPrizeId
-
getPrizeTableName
-
setPrizeTableName
-
withPrizeTableName
-
getWeight
-
setWeight
-
withWeight
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
hashCode
public int hashCode() -
equals
-