{
  "base_info": {
    "#meta": {
      "fieldLabel": "基本信息",
      "showTitle": "no",
      "includeKey": "no",
      "position": "card",
      "span": 2
    },
    "id": "string(12),formSize:2,disabled:true,searchable:true;用户Id",
    "isEnable":"choice,formSize:2,listSize:4,values:1_正常/0_冻结_#be0027,defaultValue:1,searchable:true,hidden:false;状态",
    "blank1": "space,formSize:4;空白",
    "name":"string(12),listSize:5,formSize:2,searchable:true;名称",
    "loginId":"string(12),listSize:5,formSize:2,searchable:true,unique:true;登录Id",
    "realName": "string(12),listSize:5,formSize:2,searchable:true;真实姓名",
    "nickName": "string(12),listSize:5,formSize:2,searchable:true;昵称",
    "passwordhash":"password,formSize:2,searchable:false,hidden:true;密码",
    "random":"string(12),formSize:2,searchable:false,hidden:true;密码随机数",
    "mobile": "string(16),listSize:5,inputType:mobile,formSize:2,searchable:true,unique:true;手机",
    "checkedphoneStatus": "choice,values:1_是_green/0_否_red,defaultValue:0,listSize:5,formSize:2,searchable:true;手机已验证",
    "blank3": "space,formSize:4;空白",
    "email": "string(64),formSize:2,searchable:true,unique:true;邮箱",
    "checkedemailStatus":"choice,values:1_是_green/0_否_red,defaultValue:0,formSize:2,listSize:5,searchable:true;邮箱已验证"
  },
  "misc_info": {
    "#meta": {
      "fieldLabel": "来源信息",
      "showTitle": "no",
      "position": "card",
      "includeKey": "no",
      "span": 1
    },
    "source_isOnline": "choice,values:1_是/0_否,searchable:true,formSize:4;是否线上来源",
    "source_id": "string(16),formSize:4,searchable:true,hidden:true;会员来源ID",
    "source_name": "linkId,formSize:4,listSize:6,datasource:mall_user_source,displayField:source_name,fields:id/source_name,toFields:source_id/source_name,searchable:true;会员来源",
    "recommendedUserId": "string(24),formSize:8,listSize:8,searchable:true;推荐人",
    "ip": "string(12),formSize:8,searchable:true,disabled:true;注册ip",
    "ua": "string(12),formSize:8,searchable:false;ua"
  },
  "other_info": {
    "#meta": {
      "fieldLabel": "其他信息",
      "showTitle": "no",
      "includeKey": "no",
      "position": "card",
      "span": 1
    },
    "icon": "image,spec:160x160,size:5M,exts:png#jpg#gif#jpeg,maxFileCount:1,formSize:8,listSize:5;头像",
    "owl_createTime": "date,formSize:4,disabled:true,searchable:true,listSize:8;创建时间",
    "owl_createUserId": "string(18),formSize:4,listSize:8,disabled:true,searchable:true;创建人",
    "owl_lastModifiedUserId": "string(12),formSize:4,searchable:true,disabled:true;修改人",
    "owl_modifyTime": "date,formSize:4,searchable:true,disabled:true;修改时间"
  },

  "private_info": {
    "#meta": {
      "fieldLabel": "个人信息",
      "position": "card",
      "includeKey": "no",
      "span": 2
    },
    "realNameState": "choice,tab:11,values:0_未实名认证/1_身份证号实名认证/2_身份证图片实名认证,searchable:true,formSize:2;实名认证等级",
    "identityType": "choice,tab:11,values:0_身份证/1_军官证/2_驾驶证,searchable:true,formSize:2;证件类型",
    "identityNumber": "string(18),tab:12,formSize:2,searchable:true;证件号码",
    "identityRemark": "string(6),tab:13,formSize:4,searchable:false;证件备注",
    "gender": "choice,tab:14,values:0_男/1_女/2_保密,defaultValue:2,searchable:true,formSize:2;性别",
    "birthday": "date,tab:15,formSize:2,searchable:true;生日",
    "postalCode": "string(6),tab:16,formSize:2,searchable:true;邮编",
    "officePhone": "string(6),tab:17,formSize:2,searchable:true;办公电话",
    "marriage": "choice,tab:18,values:0_未婚/1_已婚,searchable:true,formSize:2;婚姻状况",
    "income_id": "string(16),tab:12,formSize:2,searchable:true,hidden:true;月收入ID",
    "income_name": "linkId,formSize:2,searchable:true,datasource:mall_user_income,displayField:income_name,fields:id/source_name,toFields:income_id/income_name;月收入",
    "education_id": "string(16),tab:12,formSize:2,searchable:true,hidden:true;教育程度ID",
    "education_name": "linkId,formSize:2,searchable:true,datasource:mall_user_education,displayField:education_name,fields:id/education_name,toFields:education_id/education_name;教育程度",
    "industry_id": "string(16),tab:12,formSize:2,searchable:true,hidden:true;行业ID",
    "industry_name": "linkId,formSize:2,searchable:true,datasource:mall_user_industry,displayField:industry_name,fields:id/industry_name,toFields:industry_id/industry_name;行业",
    "blank2": "space,formSize:2;空白"
  },

  "bigMemberInfo":{
    "#meta":{
      "position":"card",
      "fieldLabel":"大会员信息",
      "includeKey":"yes",
      "span": 1
    },
    "memberid": "string(16),formSize:8,searchable:true;大会员ID",
    "bindTime": "date,formSize:8,searchable:true;绑定时间"
  },

  "guanjia_info":{
    "#meta":{
      "position":"card",
      "fieldLabel":"金管家账号",
      "includeKey":"yes",
      "span": 1
    },
    "isGuanjiaUser": "choice,formSize:4,values:1_是/0_否,searchable:true;是否金管家账号",
    "name": "string(16),formSize:4,searchable:false;管家名称",
    "orgName": "linkId,formSize:4,datasource:orgs,displayField:name,fields:id/name,toFields:orgId/orgName;所属组织机构",
    "orgId": "string(16),formSize:4,searchable:true,hidden:false;组织机构ID",
    "desc": "string(2000),tab:12,multiline:T,formSize:8,searchable:false;简介"
  },

  "desc_info": {
    "#meta": {
      "fieldLabel": "备注信息",
      "position": "card",
      "includeKey": "no"
    },
    "remark": "string(2000),tab:12,multiline:T,formSize:8,searchable:false;备注",
    "disableRemark": "string(2000),tab:13,multiline:T,formSize:8,searchable:false;审核不通过或冻结说明"
  },


  "user_categories": [
    {
      "#meta": {
        "type": "embed",
        "fieldLabel": "会员分类",
        "dataSourceModel": "mall_u_category",
        "keyField": "id",
        "fields": ["id","name"],
        "position": "tab",
        "mapping": {
          "id": "id",
          "name": "name"
        }
      },
      "id": "string(16),disabled:true;用户分类Id",
      "name": "string(64);名称",
      "createTime": "date,disabled:true;加入时间",
      "beginTime": "date,disabled:true;有效开始时间",
      "endTime": "date,disabled:true;有效结束时间"
    }
  ],

  "openIds":{
    "#meta":{
      "position":"tab",
      "fieldLabel":"外部系统",
      "includeKey":"no"
    },
    "qq_info": {
      "#meta": {
        "fieldLabel": "QQ信息",
        "tab": "11",
        "position": "card",
        "includeKey": "no"
      },
      "qq": "string(16),tab:12,searchable:false;QQ号",
      "qq_openId": "string(16),tab:13,searchable:false,unique:true,formSize:2;QQ openId",
      "qq_icon": "image,tab:14,spec:50x50,size:1M,exts:png#jpg#gif#jpeg,maxFileCount:1,formSize:8;QQ头像"
    },
    "wechat_info": {
      "#meta": {
        "fieldLabel": "微信信息",
        "tab": "12",
        "position": "card",
        "includeKey": "no"
      },
      "wechat": "string(32),tab:12,searchable:false;微信号",
      "wechat_openId": "string(16),tab:13,unique:true,searchable:true,formSize:2;微信 openId",
      "wechat_unionId": "string(16),tab:14,unique:true,searchable:true,formSize:2;微信 unionId",
      "blank1": "space,formSize:3;空白",
      "wechat_province": "string(12),tab:15,searchable:false;微信_省",
      "wechat_city": "string(12),tab:16,searchable:false;微信_市",
      "wechat_country": "string(12),tab:17,searchable:false;微信_国家",
      "wechat_privilege": "string(12),tab:18,searchable:false,help:如微信沃卡用户为（chinaunicom）;微信_特权",
      "wechat_icon": "image,tab:19,spec:50x50,size:1M,exts:png#jpg#gif#jpeg,maxFileCount:1,formSize:8;微信头像"
    }
  },

  "openid_info": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "关联的openid",
        "dataSourceModel": "owl_user_third_openid",
        "link": "id->user_id",
        "relation": "child",
        "position": "tab",
        "addSingle": true,
        "readOnly": "true"
      }
    }
  ],

  "user_addresses": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "地址信息",
        "dataSourceModel": "owl_user_address",
        "link": "id->user_id",
        "relation": "child",
        "position": "tab",
        "addSingle": true,
        "readOnly": "true"
      }
    }
  ],

  "user_view_product_history": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "浏览过的商品",
        "dataSourceModel": "owl_history_p",
        "link": "id->userId",
        "relation": "child",
        "position": "tab",
        "addSingle": true,
        "readOnly": "true"
      }
    }
  ],

  "user_orders": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "会员订单",
        "dataSourceModel": "owl_mall_o",
        "link": "id->buyer_info.user_id",
        "relation": "child",
        "position": "tab",
        "addSingle": true
      }
    }
  ],

  "user_cart": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "会员购物车",
        "dataSourceModel": "owl_mall_cart",
        "link": "id->userId",
        "relation": "child",
        "position": "tab",
        "addSingle": true,
        "readOnly": "true"
      }
    }
  ],


  "user_ewallet": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "会员预存款",
        "dataSourceModel": "owl_mall_ewallet",
        "link": "id->user_id",
        "relation": "child",
        "position": "tab",
        "addSingle": true,
        "readOnly": "true"
      }
    }
  ],

  "big_member_user_info": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "大会员信息",
        "dataSourceModel": "owl_big_member_user_info",
        "link": "id->userId",
        "relation": "child",
        "position": "tab",
        "addSingle": true,
        "readOnly": "true"
      }
    }
  ],

  "user_point": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "大会员积分明细",
        "dataSourceModel": "owl_mall_big_member_integrallog",
        "link": "id->userId",
        "relation": "child",
        "position": "tab",
        "addSingle": true,
        "readOnly": "true"
      }
    }
  ],

  "user_tickets": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "会员优惠券",
        "dataSourceModel": "owl_discount_ticket",
        "link": "id->userId",
        "relation": "child",
        "position": "tab",
        "readOnly": "true"
      }
    }
  ],


  "data_center_user_coupons": {
    "#meta": {
      "fieldLabel": "会员中台券",
      "includeKey": "no"
    },
    "data_center_user_coupons": [{
      "#meta": {
        "type": "external",
        "fieldLabel": "富基券平台券",
        "dataSourceModel": "owl_data_center_user_coupons",
        "link": "id->userId",
        "relation": "child",
        "position": "card",
        "addSingle": true,
        "readOnly": "true"
      }
    }],
    "enjoy_coupons": [{
      "#meta": {
        "type": "external",
        "fieldLabel": "昂捷券平台券",
        "dataSourceModel": "owl_enjoy_coupon_user_coupons",
        "link": "id->userId",
        "relation": "child",
        "position": "card",
        "addSingle": true,
        "readOnly": "true"
      }
    }]
  },

  "data_center_user_buycoupons": [{
    "#meta": {
      "type": "external",
      "fieldLabel": "会员买券订单",
      "dataSourceModel": "owl_data_center_user_buycoupons",
      "link": "id->userId",
      "relation": "child",
      "position": "tab",
      "addSingle": true,
      "readOnly": "true"
    }
  }],

  "user_invoice": [
    {
      "#meta": {
        "type": "external",
        "fieldLabel": "发票信息",
        "dataSourceModel": "owl_user_invoice",
        "link": "id->user_id",
        "relation": "child",
        "position": "tab",
        "addSingle": true
      }
    }
  ],

  "login_info": {
    "#meta": {
      "fieldLabel": "登录信息",
      "position": "tab",
        "includeKey": "no"

    },
    "passwrongtimes": "number(4),formSize:4,searchable:true,showList:false;密码错误次数",
    "lastwrongtimestamp": "date,formSize:4,searchable:true,showList:false;最后一次密码错误时间",
    "disabled_temporary": "choice,values:true_是/false_否,formSize:4,searchable:true,showList:true;是否临时禁用",
    "disabled_temporary_time": "date,formSize:4,searchable:true,showList:false;临时禁用时间"
  },


  "_t":"mall_u",
  "#meta":{
    "rem":"会员管理",
    "projectName":"会员管理",
    "changeLogEnabled": false,
    "push": false,
    "parent":["platform"],
    "visitType": [
      "platform"
    ],
    "tags": [
      {"name": "全部","color": "cyan","searchArgs":{}},
      {"name": "正常","color": "purple","searchArgs":{"isEnable": "1"}},
      {"name": "冻结","color": "green","searchArgs":{"isEnable": "0"}},
      {"name": "来源线上","color": "green","searchArgs":{"source_isOnline": "1"}},
      {"name": "来源线下","color": "green","searchArgs":{"source_isOnline": "0"}}
    ],
    "exLists": [
      {
        "name": "默认列表",
        "code": "defaultList",
        "buttons":{
          "showAdd": true,
          "showDel": false,
          "showRecycle": false
        },
        "expandIconColumnIndex":1,
        "list": ["id","icon","loginId","mobile","realName","nickName","isEnable","checkedphoneStatus","checkedemailStatus","source_name","recommendedUserId","owl_createTime"]
      }
    ],
    "pos":1,
    "group": {
      "id": "mall_user",
      "name": "会员管理",
      "icon":"user",
      "pos": 6
    },
    "formPlugins": [
      {
        "label": "设置新密码",
        "id": "mall_u_plugin_change_password",
        "action": "/owl_mall_u/plugins/changePassword.jsx",
        "inputForm": {
          "label": "请输入新的密码",
          "showTitle": "yes",
          "fields": {
            "password1": "string(12),formSize:4,listSize:9,required:true,isPassword:true;输入新密码",
            "blank1": "space,formSize:4;空白",
            "password2": "string(12),formSize:4,listSize:9,required:true,isPassword:true;确认新密码"
          }
        },
        "responseAction": "showMessage",
        "help": "设置新密码"
      }
    ],
    "maxRows": 10000,
    "export":[
      {
        "label":"导出基本信息",
        "key":"basicInfo",
        "cols":[
          {"index": 0, "columnWidth": "30", "field": "id", "title": "用户ID"},
          {"index": 1, "columnWidth": "18", "field": "loginId", "title": "登录Id"},
          {"index": 2, "columnWidth": "12", "field": "mobile", "title": "手机"},
          {"index": 3, "columnWidth": "12", "field": "realName", "title": "真实姓名"},
          {"index": 4, "columnWidth": "12", "field": "nickName", "title": "昵称"},
          {"index": 5, "columnWidth": "12", "field": "isEnable", "title": "状态"},
          {"index": 6, "columnWidth": "8", "field": "checkedphoneStatus", "title": "手机已验证"},
          {"index": 7, "columnWidth": "8", "field": "checkedemailStatus", "title": "邮箱已验证"},
          {"index": 8, "columnWidth": "12", "field": "source_name", "title": "会员来源"},
          {"index": 9, "columnWidth": "22", "field": "recommendedUserId", "title": "推荐人"},
          {"index": 10, "columnWidth": "12", "field": "memberid", "title": "大会员ID"},
          {"index": 11, "columnWidth": "20", "field": "owl_createTime", "title": "创建时间","type":"date"}
        ]
      }
    ]
  }
}