Implement a basic Domain class and Apex trigger
- Create a basic Domain class named Accounts that extends fflib_SObjectDomain.
- Create a trigger named AccountsTrigger for Account that calls the fflib_SObjectDomain triggerHandler method for all trigger methods.
- Implement defaulting logic that executes when a record is inserted and sets the Description field to the value Domain classes rock!
- Implement update logic that calculates the Levenshtein distance between the phrase Domain classes rock! and whatever the contents of the Description field is when an Account is updated. Use the Apex String method getLevenshteinDistance(stringToCompare) and store the result in the Annual Revenue field.