Package com.skava.accounts.model.domain
Class AccountSellerDO
java.lang.Object
com.skava.accounts.model.domain.AccountSellerDO
- All Implemented Interfaces:
Serializable
The Class AccountSellerDO is used as the domain model object for accountseller entity.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAccountSellerDO
(long id, int page, int size, long accountId, String userId) Instantiates a new account seller DO. -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(AccountSellerEntity accountSeller) From entity.toEntity
(AccountsEntity account) To entity.
-
Field Details
-
userId
name. -
createdTime
createdTime param*. -
updatedTime
updatedTime param*.
-
-
Constructor Details
-
AccountSellerDO
Instantiates a new account seller DO.- Parameters:
id
- the idpage
- the pagesize
- the sizeaccountId
- the account iduserId
- the user id
-
-
Method Details
-
fromEntity
From entity. This function is used to convert from entity to domain object. This function is used to map the params inAccountSellerEntity
toAccountSellerDO
- Parameters:
accountSeller
- of typeAccountSellerEntity
which consists of the account seller details retrieved form the DB- Returns:
- the account seller DO
AccountSellerDO
-
toEntity
To entity. This function is used to convert from entity to domain object. This function is used to map the params inAccountSellerDO
toAccountSellerEntity
- Parameters:
account
- the account- Returns:
- the account seller entity
AccountSellerEntity
-