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

  /**
  * 获取数据项集合
  *
  * @returns {any[]}
  * @memberof MainModel
  */
  public getDataItems(): any[] {
    return [
      {
        name: 'srfwfmemo',
        prop: 'srfwfmemo',
        dataType: 'TEXT',
      },
      // 前端新增修改标识,新增为"0",修改为"1"或未设值
      {
        name: 'srffrontuf',
        prop: 'srffrontuf',
        dataType: 'TEXT',
      },
      {
        name: 'srfupdatedate',
        prop: 'updatedate',
        dataType: 'DATETIME',
      },
      {
        name: 'srforikey',
      },
      {
        name: 'srfkey',
        prop: 'ibizorderid',
        dataType: 'GUID',
      },
      {
        name: 'srfmajortext',
        prop: 'ibizordername',
        dataType: 'TEXT',
      },
      {
        name: 'srftempmode',
      },
      {
        name: 'srfuf',
      },
      {
        name: 'srfdeid',
      },
      {
        name: 'srfsourcekey',
      },
      {
        name: 'srfip_amount',
      },
      {
        name: 'orderuid',
        prop: 'orderuid',
        dataType: 'TEXT',
      },
      {
        name: 'ibizordername',
        prop: 'ibizordername',
        dataType: 'TEXT',
      },
      {
        name: 'ordertime',
        prop: 'ordertime',
        dataType: 'DATE',
      },
      {
        name: 'starttime',
        prop: 'starttime',
        dataType: 'DATETIME',
      },
      {
        name: 'endtime',
        prop: 'endtime',
        dataType: 'DATETIME',
      },
      {
        name: 'ibizcustomername',
        prop: 'ibizcustomername',
        dataType: 'PICKUPTEXT',
      },
      {
        name: 'ordertype',
        prop: 'ordertype',
        dataType: 'SSCODELIST',
      },
      {
        name: 'amount',
        prop: 'amount',
        dataType: 'FLOAT',
      },
      {
        name: 'detailnum',
        prop: 'detailnum',
        dataType: 'INT',
      },
      {
        name: 'orderstate',
        prop: 'orderstate',
        dataType: 'SSCODELIST',
      },
      {
        name: 'memo',
        prop: 'memo',
        dataType: 'LONGTEXT_1000',
      },
      {
        name: 'ibizcustomerid',
        prop: 'ibizcustomerid',
        dataType: 'PICKUP',
      },
      {
        name: 'ibizorderid',
        prop: 'ibizorderid',
        dataType: 'GUID',
      },
      {
        name: 'ibizorder',
        prop: 'ibizorderid',
        dataType: 'FONTKEY',
      },
    ]
  }

}