Activity type has to be stored as a number but not used in code as a number. This leads to maintainability issues since your names may clash or change. Or you may need to interpret the names somewhere else but you will not know how.
The way to 
Example: 
class Animal:
    DOG = 1
    CAT = 2

x = Animal.DOG