Entities can contain different types of fields.
These types can be divided into two categories:
Simple types are Integer, BigDecimal, Boolean, string, etc. , Relationship types are used to represent relationships between objects (One2One, One2Many, Many2One). Each type has an XML definition of its own. However, u n & set optional parameters is required for the most common types of fields.