/**
 * ViewList 部件模型
 *
 * @export
 * @class ViewListModel
 */
export default class ViewListModel {

	/**
	 * 获取数据项集合
	 *
	 * @returns {any[]}
	 * @memberof ViewListListMode
	 */
	public getDataItems(): any[] {
		return [
			{
				name: 'documentaddress',
				prop: 'documentaddress',
				dataType: 'TEXT',
			},
			{
				name: 'ibizappviewtype',
				prop: 'ibizappviewtype',
				dataType: 'TEXT',
        codelist:{tag:'AppViewType',codelistType:'STATIC'},
			},
			{
				name: 'srfdescription',
				prop: 'viewdescription',
				dataType: 'TEXT',
			},
			{
				name: 'srfmajortext',
				prop: 'ibizappviewname',
				dataType: 'TEXT',
			},
			{
				name: 'instanceaddress',
				prop: 'instanceaddress',
				dataType: 'TEXT',
			},
			{
				name: 'srfkey',
				prop: 'ibizappviewid',
				dataType: 'GUID',
			},
			{
				name: 'ibizappview',
				prop: 'ibizappviewid',
				dataType: 'FONTKEY',
			},

      {
        name:'size',
        prop:'size'
      },
      {
        name:'query',
        prop:'query'
      },
      {
        name:'sort',
        prop:'sort'
      },
      {
        name:'page',
        prop:'page'
      },
      // 前端新增修改标识，新增为"0",修改为"1"或未设值
      {
        name: 'srffrontuf',
        prop: 'srffrontuf',
        dataType: 'TEXT',
      },
		]
	}

}