While in the object oriented world you might use classes to model your domain, in functional programming you will use Algebraic Data Types.