---
title: "How to create model in ext js."  
description: "How to create model in ext js."  
author: "zack mathews"  
published: 2016-10-05  
updated: 2016-10-05  
canonical: https://www.mindstick.com/forum/34190/how-to-create-model-in-ext-js  
category: "sencha extjs"  
tags: ["sencha touch"]  
reading_time: 1 minute  

---

# How to create model in ext js.

Hi Guys \
[Please tell me](https://www.mindstick.com/forum/33900/please-tell-me-what-are-the-technique-to-content-optimization) how to create [model](https://yourviews.mindstick.com/view/81334/america-is-reopening-after-corona-lockdown-but-on-swedish-model) in ext js.\
Thanks

## Replies

### Reply by Anonymous User

Model is a set of property and datatype and support for validation each property.

```
Ext.define('MyApp.model.User', {
    extend: 'Ext.data.Model',
    fields: ['UserId', 'UserName', 'UserEmail', 'PhoneNumber', 'Address', 'Password'],

});
```

Thanks.


---

Original Source: https://www.mindstick.com/forum/34190/how-to-create-model-in-ext-js

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
