Package com.skava.accounts.model.domain
Class ApprovalRuleDO
java.lang.Object
com.skava.accounts.model.domain.ApprovalRuleDO
- All Implemented Interfaces:
Serializable
The class ApprovalRuleDO is used as the domain model object for ApprovalEntity entity.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LocalDateTime
createdTime param*.protected LocalDateTime
updatedTime param*. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(ApprovalRuleEntity approvalRule) fromEntity - Used to convert domain object to entity.toEntity()
toEntity - Used to convert entity to domain object.
-
Field Details
-
createdTime
createdTime param*. -
updatedTime
updatedTime param*.
-
-
Constructor Details
-
ApprovalRuleDO
public ApprovalRuleDO()
-
-
Method Details
-
fromEntity
fromEntity - Used to convert domain object to entity.- Parameters:
approvalRule
- the approval rule- Returns:
- It returns
ApprovalRuleDO
.
-
toEntity
toEntity - Used to convert entity to domain object.- Returns:
- It returns
ApprovalRuleEntity
.
-