Class ContractTariff
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdContractId
ru.bitel.bgbilling.kernel.contract.api.common.bean.ContractTariff
- All Implemented Interfaces:
Serializable,ContractIdable,Idable
Объект сопоставляет договору тарифный план на определенный период.
Соответствует записи из таблицы contract_tariff.
Содержит следующие поля, устанавливаемые и получаемые с помощью
get/set функций:
private int ID - код записи в таблице
private int contractID - код договора
private int tariffPlanID - код тарифного плана
private int tariffGroupID - код группы тарифных планов
private Period period - окончание
private String comment - комментарий
...
private int replacedFromTariff - если запись получена через смену тарифа с
кого-то другого, то здесь сохраняется id предыдущей записи (чтобы можно было
откатить, например)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContractTarifffrom(ContractTariff contractTariff) intintintintintintsetComment(String comment) setContractId(int contractId) setEntityId(int entityId) setEntityModuleId(int entityMid) setId(int id) Устанавливает id объектаsetPosition(int pos) setReplacedFromContractTariffId(int replacedFromContractTariffId) setTariffGroupId(int tariffGroupId) setTariffPlanId(int tariffPlanId) Methods inherited from class ru.bitel.common.model.IdContractId
getContractId
-
Constructor Details
-
ContractTariff
public ContractTariff()
-
-
Method Details
-
getComment
-
getEntityId
public int getEntityId() -
getEntityModuleId
public int getEntityModuleId() -
getPeriod
-
getPosition
public int getPosition() -
getReplacedFromContractTariffId
public int getReplacedFromContractTariffId() -
getTariffGroupId
public int getTariffGroupId() -
getTariffPlanId
public int getTariffPlanId() -
setComment
-
setContractId
- Overrides:
setContractIdin classIdContractId
-
setEntityId
-
setEntityModuleId
-
setId
Description copied from class:IdУстанавливает id объекта -
setPeriod
-
setPosition
-
setReplacedFromContractTariffId
-
setTariffGroupId
-
setTariffPlanId
-
from
-