Class LotteryModel

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

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

    • LotteryModel

      public LotteryModel()
  • Method Details

    • getLotteryModelId

      public String getLotteryModelId()
    • setLotteryModelId

      public void setLotteryModelId(String lotteryModelId)
    • withLotteryModelId

      public LotteryModel withLotteryModelId(String lotteryModelId)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • withName

      public LotteryModel withName(String name)
    • getMetadata

      public String getMetadata()
    • setMetadata

      public void setMetadata(String metadata)
    • withMetadata

      public LotteryModel withMetadata(String metadata)
    • getMode

      public String getMode()
    • setMode

      public void setMode(String mode)
    • withMode

      public LotteryModel withMode(String mode)
    • getMethod

      public String getMethod()
    • setMethod

      public void setMethod(String method)
    • withMethod

      public LotteryModel withMethod(String method)
    • getPrizeTableName

      public String getPrizeTableName()
    • setPrizeTableName

      public void setPrizeTableName(String prizeTableName)
    • withPrizeTableName

      public LotteryModel withPrizeTableName(String prizeTableName)
    • getChoicePrizeTableScriptId

      public String getChoicePrizeTableScriptId()
    • setChoicePrizeTableScriptId

      public void setChoicePrizeTableScriptId(String choicePrizeTableScriptId)
    • withChoicePrizeTableScriptId

      public LotteryModel withChoicePrizeTableScriptId(String choicePrizeTableScriptId)
    • fromJson

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

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

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

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

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