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

	/**
	 * 获取数据项集合
	 *
	 * @returns {any[]}
	 * @memberof MainGridMode
	 */
	public getDataItems(): any[] {
		return [
			{
				name: 'userobjectname',
				prop: 'userobjectname',
				dataType: 'PICKUPTEXT',
			},
			{
				name: 'updateman',
				prop: 'updateman',
				dataType: 'TEXT',
			},
			{
				name: 'userrolename',
				prop: 'userrolename',
				dataType: 'PICKUPTEXT',
			},
			{
				name: 'userobjectid',
				prop: 'userobjectid',
				dataType: 'PICKUP',
			},
			{
				name: 'updatedate',
				prop: 'updatedate',
				dataType: 'DATETIME',
			},
			{
				name: 'srfmajortext',
				prop: 'userroledetailname',
				dataType: 'TEXT',
			},
			{
				name: 'srfdataaccaction',
				prop: 'userroledetailid',
				dataType: 'GUID',
			},
			{
				name: 'srfkey',
				prop: 'userroledetailid',
				dataType: 'GUID',
			},
			{
				name: 'userroleid',
				prop: 'userroleid',
				dataType: 'PICKUP',
			},
			{
				name: 'userroledetail',
				prop: 'userroledetailid',
			},


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

}