/**
 * SForm 部件模型
 *
 * @export
 * @class SFormModel
 */
export default class SFormModel {

  /**
  * 获取数据项集合
  *
  * @returns {any[]}
  * @memberof SFormModel
  */
  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: '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: 'ibizorderid',
        prop: 'ibizorderid',
        dataType: 'GUID',
      },
      {
        name: 'memo',
        prop: 'memo',
        dataType: 'LONGTEXT_1000',
      },
      {
        name: 'ibizcustomerid',
        prop: 'ibizcustomerid',
        dataType: 'PICKUP',
      },
      {
        name: 'ibizorder',
        prop: 'ibizorderid',
        dataType: 'FONTKEY',
      },
    ]
  }

}