Closed DemiusAcademius closed 6 months ago
create domain entity LoyaltyEventType id: uuid name: string fields: List
domain entity LoyaltyEventField id: uuid name: string fieldType: enum (STRING,DECIMAL,BOOLEAN)
add to Campaign entity field LoyaltyEventType
value type (record) Condition field: LoyaltyEventField operator: enum (EQUALS, GREATER, LOWER, IS (for boolean only)) value: string
create domain entity LoyaltyEffectType id: uuid name: string
value type (record) Effect effectType: LoyaltyEffectType value: string
add conditions and effect to Rule
create domain entity LoyaltyEventType id: uuid name: string fields: List
domain entity LoyaltyEventField id: uuid name: string fieldType: enum (STRING,DECIMAL,BOOLEAN)
add to Campaign entity field LoyaltyEventType
value type (record) Condition field: LoyaltyEventField operator: enum (EQUALS, GREATER, LOWER, IS (for boolean only)) value: string
create domain entity LoyaltyEffectType id: uuid name: string
value type (record) Effect effectType: LoyaltyEffectType value: string
add conditions and effect to Rule