Class ContractTariff
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.bgbilling.kernel.contract.api.common.bean.ContractTariff
- All Implemented Interfaces:
Serializable,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:
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContractTariff.Builderbuilder()static ContractTariff.Builderbuilder(ContractTariff contractTariff) intintintintintintintsetComment(String comment) setContractId(int contractId) setEntityId(int entityId) setEntityMid(int entityMid) setPosition(int pos) setReplacedFromContractTariffId(int replacedFromContractTariffId) setTariffGroupId(int tariffGroupId) setTariffPlanId(int tariffPlanId)
-
Constructor Details
-
ContractTariff
public ContractTariff()
-
-
Method Details
-
getEntityMid
public int getEntityMid() -
setEntityMid
-
getEntityId
public int getEntityId() -
setEntityId
-
getPosition
public int getPosition() -
setPosition
-
getContractId
public int getContractId() -
setContractId
-
setTariffPlanId
-
setComment
-
getTariffPlanId
public int getTariffPlanId() -
getTariffGroupId
public int getTariffGroupId() -
setTariffGroupId
-
getComment
-
getReplacedFromContractTariffId
public int getReplacedFromContractTariffId() -
setReplacedFromContractTariffId
-
getPeriod
-
setPeriod
-
builder
-
builder
-