/**
 * Main2 部件模型
 *
 * @export
 * @class Main2Model
 */
export default class Main2Model {

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

	/**
	 * 获取数据项集合
	 *
	 * @returns {any[]}
	 * @memberof Main2GridMode
	 */
	public getDataItems(): any[] {
    if(this.isDEExport){
		  return [
      ]
    }else{
		  return [
        {
          name: 'contractgroup',
          prop: 'contractgroup',
          dataType: 'YESNO',
        },
        {
          name: 'contractprice',
          prop: 'contractprice',
          dataType: 'CURRENCY',
        },
        {
          name: 'contractno',
          prop: 'contractno',
          dataType: 'TEXT',
        },
        {
          name: 'contractnum',
          prop: 'contractnum',
          dataType: 'INT',
        },
        {
          name: 'docdesc',
          prop: 'docdesc',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'recvdoc',
          prop: 'recvdoc',
          dataType: 'TEXT',
        },
        {
          name: 'certdesc',
          prop: 'certdesc',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'contractobjid',
          prop: 'contractobjid',
          dataType: 'TEXT',
        },
        {
          name: 'apprdesc',
          prop: 'apprdesc',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'performline',
          prop: 'performline',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'srfmajortext',
          prop: 'pfcontractname',
          dataType: 'TEXT',
        },
        {
          name: 'srfdataaccaction',
          prop: 'pfcontractid',
          dataType: 'GUID',
        },
        {
          name: 'srfkey',
          prop: 'pfcontractid',
          dataType: 'GUID',
        },
        {
          name: 'performway',
          prop: 'performway',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'payreason',
          prop: 'payreason',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'peramount',
          prop: 'peramount',
          dataType: 'CURRENCY',
        },
        {
          name: 'amount',
          prop: 'amount',
          dataType: 'CURRENCY',
        },
        {
          name: 'licdesc',
          prop: 'licdesc',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'changecontent',
          prop: 'changecontent',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'apprstate',
          prop: 'apprstate',
          dataType: 'SSCODELIST',
        },
        {
          name: 'description',
          prop: 'description',
          dataType: 'TEXT',
        },
        {
          name: 'payamount',
          prop: 'payamount',
          dataType: 'CURRENCY',
        },
        {
          name: 'checkstandard',
          prop: 'checkstandard',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'paydesc',
          prop: 'paydesc',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'attention',
          prop: 'attention',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'contractdate',
          prop: 'contractdate',
          dataType: 'DATE',
        },
        {
          name: 'declaration',
          prop: 'declaration',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'apprdate',
          prop: 'apprdate',
          dataType: 'DATETIME',
        },
        {
          name: 'contractcode',
          prop: 'contractcode',
          dataType: 'TEXT',
        },
        {
          name: 'performplace',
          prop: 'performplace',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'performrecord',
          prop: 'performrecord',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'paycnt',
          prop: 'paycnt',
          dataType: 'TEXT',
        },
        {
          name: 'contractobjgroup',
          prop: 'contractobjgroup',
          dataType: 'SSCODELIST',
        },
        {
          name: 'changedesc',
          prop: 'changedesc',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'contracttender',
          prop: 'contracttender',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'contracttypeid',
          prop: 'contracttypeid',
          dataType: 'SSCODELIST',
        },
        {
          name: 'emserviceid',
          prop: 'emserviceid',
          dataType: 'PICKUP',
        },
        {
          name: 'attdesc',
          prop: 'attdesc',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'performstate',
          prop: 'performstate',
          dataType: 'SSCODELIST',
        },
        {
          name: 'contractdesc',
          prop: 'contractdesc',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'pfcontractname',
          prop: 'pfcontractname',
          dataType: 'TEXT',
        },
        {
          name: 'contractdoc',
          prop: 'contractdoc',
          dataType: 'TEXT',
        },
        {
          name: 'sdate',
          prop: 'sdate',
          dataType: 'DATE',
        },
        {
          name: 'contractqa',
          prop: 'contractqa',
          dataType: 'LONGTEXT_1000',
        },
        {
          name: 'rorgid',
          prop: 'rorgid',
          dataType: 'TEXT',
        },
        {
          name: 'pfcontract',
          prop: 'pfcontractid',
        },

        {
          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',
        },
      ]
    }
  }

}