Class TeamDO

java.lang.Object
com.skava.accounts.model.domain.TeamDO
All Implemented Interfaces:
Serializable

public class TeamDO extends Object implements Serializable
The Class TeamDO is used as the domain model object for teams entity.
Author:
Infosys Equinox
See Also:
  • Field Details

    • createdTime

      protected Date createdTime
      createdTime param*.
    • updatedTime

      protected Date updatedTime
      updatedTime param*.
  • Constructor Details

    • TeamDO

      public TeamDO()
  • Method Details

    • fromEntity

      public TeamDO fromEntity(TeamEntity team, List<AccountBuyerEntity> teamBuyerEntity)
      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

      public TeamDO fromEntity(TeamEntity team)
      fromEntity - Used to convert entity to domain object.
      Parameters:
      team - the team object
      Returns:
      the TeamDO object.
    • toEntity

      public TeamEntity toEntity(AccountsEntity account)
      toEntity - Used to convert entity to domain object.
      Parameters:
      account - the account object
      Returns:
      It returns TeamEntity.