/**
 * Main 部件模型
 *
 * @export
 * @class MainModel
 */
export default class MainModel {

	/**
	 * 获取数据项集合
	 *
	 * @returns {any[]}
	 * @memberof MainGridMode
	 */
	public getDataItems(): any[] {
		return [
			{
				name: 'name',
				prop: 'name',
				dataType: 'TEXT',
			},
			{
				name: 'pname',
				prop: 'pname',
				dataType: 'TEXT',
			},
			{
				name: 'code',
				prop: 'code',
				dataType: 'TEXT',
			},
			{
				name: 'pcode',
				prop: 'pcode',
				dataType: 'TEXT',
			},
			{
				name: 'srfmajortext',
				prop: 'sjzdxname',
				dataType: 'TEXT',
			},
			{
				name: 'srfdataaccaction',
				prop: 'sjzdxid',
				dataType: 'GUID',
			},
			{
				name: 'srfkey',
				prop: 'sjzdxid',
				dataType: 'GUID',
			},
			{
				name: 'sjzdid',
				prop: 'sjzdid',
				dataType: 'PICKUP',
			},
			{
				name: 'sjzdx',
				prop: 'sjzdxid',
			},

      {
        name:'size',
        prop:'size'
      },
      {
        name:'query',
        prop:'query'
      },
      {
        name:'page',
        prop:'page'
      },
      {
        name:'sort',
        prop:'sort'
      },
      {
        name:'srfparentdata',
        prop:'srfparentdata'
      }
		]
	}

}