Within the model container, the properties of that model are shown. Properties store the data in the models. What kind of data can be stored depends on the data type. This datatype defines if the data can be stored as a number, text, image, file, etc.
The more properties your model has, the more information it can store. For example, an Employee model has properties that hold the employee’s name, age, gender, etc.
HowTo create properties?
- Go to the Data Model by clicking on the Data Model icon in the Builder Bar.
- Click on a model you’d like to add new properties to or, create a new model for your properties.
- Within the model settings, go to the Properties subview on the right.
- Notice that each model automatically starts with 3 predefined properties, these properties are Created at, Updated at, and Id. The 2 Date time items are used for time-stamping and id is the identifier for every single record.
- Click on the New button to create a new property.
- Select the property type. This will change what type of content the property will be able to hold and changes up the form.
- Name the property. The Label value will automatically be the same as Name, the Label value can be changed without changing Name. The difference between these two is that Name is inserted into the database of your app and Label is only used for your interfaces as columns or form components.
- If you are done with creating the property you can click on the Save button to save it
If you want to know more about each property type and their forms then you should check out this article: Property Reference