java.lang.Object
ru.bitel.common.model.Id
ru.bitel.oss.systems.inventory.product.common.bean.Product
All Implemented Interfaces:
Serializable, Cloneable, Idable

public class Product extends Id implements Cloneable
See Also:
  • Field Details

  • Constructor Details

    • Product

      public Product()
  • Method Details

    • getContractId

      public int getContractId()
    • setContractId

      public void setContractId(int contractId)
    • getAccountId

      public int getAccountId()
    • setAccountId

      public void setAccountId(int accountId)
    • setProductSpecId

      public void setProductSpecId(int specId)
    • setProductSpecTitle

      public void setProductSpecTitle(String specTitle)
    • getTimeFrom

      public Date getTimeFrom()
    • setTimeFrom

      public void setTimeFrom(Date timeFrom)
    • getTimeTo

      public Date getTimeTo()
    • setTimeTo

      public void setTimeTo(Date timeTo)
    • getUserId

      public int getUserId()
    • setUserId

      public void setUserId(int userId)
    • getActivationModeId

      public int getActivationModeId()
    • setActivationModeId

      public void setActivationModeId(int activationMode)
    • getActivationPrice

      public BigDecimal getActivationPrice()
      Предустановленная цена (не из тарифа).
      Returns:
    • setActivationPrice

      public void setActivationPrice(BigDecimal activationCost)
    • getActivationTime

      public Date getActivationTime()
    • setActivationTime

      public void setActivationTime(Date activationTime)
    • getDeactivationTime

      public Date getDeactivationTime()
    • setDeactivationTime

      public void setDeactivationTime(Date deactivationTime)
    • getProductSpecId

      public int getProductSpecId()
    • getProductSpecTitle

      public String getProductSpecTitle()
    • getDeviceProductId

      public String getDeviceProductId()
    • setDeviceProductId

      public void setDeviceProductId(String deviceProductId)
    • getDeviceState

      public short getDeviceState()
    • setDeviceState

      public void setDeviceState(short deviceState)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getServiceList

      public List<Service> getServiceList()
    • setServiceList

      public void setServiceList(List<Service> serviceList)
    • getSubscriptionTimeTo

      public Date getSubscriptionTimeTo()
    • setSubscriptionTimeTo

      public void setSubscriptionTimeTo(Date subscriptionTimeTo)
    • getSubscriptionTimeFrom

      public Date getSubscriptionTimeFrom()
    • setSubscriptionTimeFrom

      public void setSubscriptionTimeFrom(Date subscriptionTimeFrom)
    • toString

      public String toString()
      Overrides:
      toString in class Id
    • clone

      public Product clone()
      Overrides:
      clone in class Object
    • builder

      public static Product.Builder builder()
    • builder

      public static Product.Builder builder(Product product)