[ 
https://issues.apache.org/jira/browse/FINERACT-2095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Saghy updated FINERACT-2095:
---------------------------------
    Description: 
Enum type response data EnumOptionData is generic and since we are moving away 
from using and storing id or orinal values, we should introduce a special 
StringEnumOptionData for this reason.

BaseEnumOptionData got introduced to have the common field whereas id is a 
generic one:
- id: T
- code: String
- description: String

EnumOptionData
- id : Long

StringEnumOptionData
- id : *String* 

  was:TODO


> Use String based identifiers for enums
> --------------------------------------
>
>                 Key: FINERACT-2095
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2095
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Adam Saghy
>            Priority: Major
>             Fix For: 1.11
>
>
> Enum type response data EnumOptionData is generic and since we are moving 
> away from using and storing id or orinal values, we should introduce a 
> special StringEnumOptionData for this reason.
> BaseEnumOptionData got introduced to have the common field whereas id is a 
> generic one:
> - id: T
> - code: String
> - description: String
> EnumOptionData
> - id : Long
> StringEnumOptionData
> - id : *String* 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to