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

	/**
	 * 是否是实体数据导出
	 *
	 * @returns {any[]}
	 * @memberof MainGridMode
	 */
	public isDEExport: boolean = false;

	/**
	 * 获取数据项集合
	 *
	 * @returns {any[]}
	 * @memberof MainGridMode
	 */
	public getDataItems(): any[] {
    if(this.isDEExport){
		  return [
      ]
    }else{
		  return [
        {
          name: 'acclassid',
          prop: 'acclassid',
          dataType: 'PICKUP',
        },
        {
          name: 'embrandid',
          prop: 'embrandid',
          dataType: 'PICKUP',
        },
        {
          name: 'contractid',
          prop: 'contractid',
          dataType: 'PICKUP',
        },
        {
          name: 'rserviceid',
          prop: 'rserviceid',
          dataType: 'PICKUP',
        },
        {
          name: 'labserviceid',
          prop: 'labserviceid',
          dataType: 'PICKUP',
        },
        {
          name: 'updateman',
          prop: 'updateman',
          dataType: 'TEXT',
        },
        {
          name: 'emmachinecategoryid',
          prop: 'emmachinecategoryid',
          dataType: 'PICKUP',
        },
        {
          name: 'srfmajortext',
          prop: 'emequipname',
          dataType: 'TEXT',
        },
        {
          name: 'srfkey',
          prop: 'emequipid',
          dataType: 'GUID',
        },
        {
          name: 'srfdataaccaction',
          prop: 'emequipid',
          dataType: 'GUID',
        },
        {
          name: 'emberthid',
          prop: 'emberthid',
          dataType: 'PICKUP',
        },
        {
          name: 'empid',
          prop: 'empid',
          dataType: 'PICKUP',
        },
        {
          name: 'equipinfo',
          prop: 'equipinfo',
          dataType: 'TEXT',
        },
        {
          name: 'mserviceid',
          prop: 'mserviceid',
          dataType: 'PICKUP',
        },
        {
          name: 'deptid',
          prop: 'deptid',
          dataType: 'PICKUP',
        },
        {
          name: 'eqlocationid',
          prop: 'eqlocationid',
          dataType: 'PICKUP',
        },
        {
          name: 'equippid',
          prop: 'equippid',
          dataType: 'PICKUP',
        },
        {
          name: 'updatedate',
          prop: 'updatedate',
          dataType: 'DATETIME',
        },
        {
          name: 'assetid',
          prop: 'assetid',
          dataType: 'PICKUP',
        },
        {
          name: 'emmachmodelid',
          prop: 'emmachmodelid',
          dataType: 'PICKUP',
        },
        {
          name: 'eqtypeid',
          prop: 'eqtypeid',
          dataType: 'PICKUP',
        },
        {
          name: 'rteamid',
          prop: 'rteamid',
          dataType: 'PICKUP',
        },
        {
          name: 'emequip',
          prop: 'emequipid',
        },
      {
        name: 'n_equipcode_like',
        prop: 'n_equipcode_like',
        dataType: 'TEXT',
      },
      {
        name: 'n_emequipname_like',
        prop: 'n_emequipname_like',
        dataType: 'TEXT',
      },
      {
        name: 'n_eqlocationname_eq',
        prop: 'n_eqlocationname_eq',
        dataType: 'PICKUPTEXT',
      },
      {
        name: 'n_equipgroup_eq',
        prop: 'n_equipgroup_eq',
        dataType: 'NMCODELIST',
      },
      {
        name: 'n_eqtypename_eq',
        prop: 'n_eqtypename_eq',
        dataType: 'PICKUPTEXT',
      },
      {
        name: 'n_eqtypeid_eq',
        prop: 'n_eqtypeid_eq',
      },

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

}