Package com.skava.accounts.model.domain
Class TeamDO
java.lang.Object
com.skava.accounts.model.domain.TeamDO
- All Implemented Interfaces:
Serializable
The Class TeamDO is used as the domain model object for teams entity.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(TeamEntity team) fromEntity - Used to convert entity to domain object.fromEntity
(TeamEntity team, List<AccountBuyerEntity> teamBuyerEntity) fromEntity - Used to convert entity to domain object.toEntity
(AccountsEntity account) toEntity - Used to convert entity to domain object.
-
Field Details
-
createdTime
createdTime param*. -
updatedTime
updatedTime param*.
-
-
Constructor Details
-
TeamDO
public TeamDO()
-
-
Method Details
-
fromEntity
fromEntity - Used to convert entity to domain object.- Parameters:
team
- the team object.teamBuyerEntity
- a list of team buyer entity- Returns:
- It returns
TeamDO
.
-
fromEntity
fromEntity - Used to convert entity to domain object.- Parameters:
team
- the team object- Returns:
- the
TeamDO
object.
-
toEntity
toEntity - Used to convert entity to domain object.- Parameters:
account
- the account object- Returns:
- It returns
TeamEntity
.
-