2.2. Creating the Data Model
Let’s create a Contract entity class.
-
In the Data Model section of the CUBA project tree click New > Entity. The New CUBA Entity dialog window will appear.
-
Enter the name of the entity class –
Contract– in the Entity name field and click OK button. The Entity Designer page will be displayed in the workspace. -
Using the Entity Designer add attributes:
-
numberof the typeString -
dateof the typeDate -
stateof the typeString
-
Contract entity creation is now complete.