Package com.skava.accounts.model.domain
Class AccountBuyerDO
java.lang.Object
com.skava.accounts.model.domain.AccountBuyerDO
- All Implemented Interfaces:
Serializable
The Class AccountBuyerDO is used as the domain model object for accountbuyer entity.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(AccountBuyerEntity teamBuyer) From entity.toEntity
(AccountsEntity account, long teamId) To entity.
-
Field Details
-
userId
name. -
teamId
protected long teamIdteamId. -
accountId
protected long accountIdaccountId. -
createdTime
createdTime param*. -
updatedTime
updatedTime param*.
-
-
Constructor Details
-
AccountBuyerDO
Instantiates a new account buyer DO.- Parameters:
id
- the iduserId
- the user id
-
-
Method Details
-
fromEntity
From entity. This function is used to convert entity to domain object This function is used to map the params inAccountBuyerEntity
toAccountBuyerDO
- Parameters:
teamBuyer
- of typeAccountBuyerEntity
which has the account buyer details which has been loaded from the DB- Returns:
- the
AccountBuyerDO
-
toEntity
To entity. This function is used to convert domain object to entity This function is used to map the params inAccountBuyerDO
toAccountBuyerEntity
- Parameters:
account
- the accountteamId
- the team id- Returns:
AccountBuyerEntity
-