{
  "ods_table": "member_stored_value_cards",
  "ods_fields": {
    "tenant_id": "租户/品牌 ID，与其他 JSON 中 tenant_id 一致",
    "tenant_member_id": "当前商户（品牌/租户）中会员的主键 ID",
    "system_member_id": "系统级会员 ID（跨门店统一主键）",
    "register_site_id": "卡首次办理的门店 ID",
    "site_name": "卡归属门店名称（视图中的展示字段）",
    "id": "本表主键 ID，用于唯一标识一条记录",
    "member_card_grade_code": "卡等级/卡类代码，和下面两个名称字段一一对应",
    "member_card_grade_code_name": "卡等级/卡类名称",
    "member_card_type_name": "卡类型名称，实际与 member_card_grade_code_name 一致",
    "member_name": "持卡会员姓名快照",
    "member_mobile": "持卡会员手机号快照",
    "card_type_id": "卡种 ID（定义“这是哪一种卡”）",
    "card_no": "实体卡物理卡号／条码号",
    "card_physics_type": "物理卡类型",
    "balance": "当前卡内余额（主要针对储值卡、部分券卡）",
    "denomination": "采用“几折”的记法：10=不打折，9=九折，8=八折",
    "table_discount": "数量/时长字段，用于统计与计量",
    "goods_discount": "数量/时长字段，用于统计与计量",
    "assistant_discount": "数量/时长字段，用于统计与计量",
    "assistant_reward_discount": "数量/时长字段，用于统计与计量",
    "table_service_discount": "数量/时长字段，用于统计与计量",
    "assistant_service_discount": "数量/时长字段，用于统计与计量",
    "coupon_discount": "数量/时长字段，用于统计与计量",
    "goods_service_discount": "数量/时长字段，用于统计与计量",
    "assistant_discount_sub_switch": "数量/时长字段，用于统计与计量",
    "table_discount_sub_switch": "数量/时长字段，用于统计与计量",
    "goods_discount_sub_switch": "数量/时长字段，用于统计与计量",
    "assistant_reward_discount_sub_switch": "数量/时长字段，用于统计与计量",
    "table_service_deduct_radio": "金额字段，用于计费/结算/分摊等金额计算",
    "assistant_service_deduct_radio": "金额字段，用于计费/结算/分摊等金额计算",
    "goods_service_deduct_radio": "金额字段，用于计费/结算/分摊等金额计算",
    "assistant_deduct_radio": "金额字段，用于计费/结算/分摊等金额计算",
    "table_deduct_radio": "金额字段，用于计费/结算/分摊等金额计算",
    "goods_deduct_radio": "金额字段，用于计费/结算/分摊等金额计算",
    "coupon_deduct_radio": "金额字段，用于计费/结算/分摊等金额计算",
    "assistant_reward_deduct_radio": "金额字段，用于计费/结算/分摊等金额计算",
    "tablecarddeduct": "（待补充）",
    "tableservicecarddeduct": "（待补充）",
    "goodscardeduct": "（待补充）",
    "goodsservicecarddeduct": "（待补充）",
    "assistantcarddeduct": "（待补充）",
    "assistantservicecarddeduct": "（待补充）",
    "assistantrewardcarddeduct": "（待补充）",
    "cardsettlededuct": "（待补充）",
    "couponcarddeduct": "（待补充）",
    "deliveryfeededuct": "（待补充）",
    "use_scene": "卡使用场景说明（比如“仅店内使用”“仅团建”等），本门店尚未使用此字段",
    "able_cross_site": "是否允许跨店使用",
    "is_allow_give": "是否允许转赠/转让给其他会员",
    "is_allow_order_deduct": "是否允许在“订单层面统一扣款”",
    "is_delete": "逻辑删除标志",
    "bind_password": "卡绑定密码，用于消费或查询验证（目前未启用）",
    "goods_discount_range_type": "数量/时长字段，用于统计与计量",
    "goodscategoryid": "（待补充）",
    "tableareaid": "（待补充）",
    "effect_site_id": "卡片限定生效门店 ID",
    "start_time": "卡片生效开始时间（有效期起始）",
    "end_time": "卡片有效期结束时间",
    "disable_start_time": "停用时间段（比如临时冻结卡的起止时间）",
    "disable_end_time": "停用时间段（比如临时冻结卡的起止时间）",
    "last_consume_time": "最近一次消费时间",
    "create_time": "卡片创建时间（开卡时间）",
    "status": "状态枚举，用于标识记录当前业务状态",
    "sort": "在前端展示或某些列表中的排序权重",
    "tenantavatar": "（待补充）",
    "tenantname": "（待补充）",
    "pdassisnatlevel": "（待补充）",
    "cxassisnatlevel": "（待补充）",
    "source_file": "ETL 元数据：原始导出文件名，用于数据追溯",
    "source_endpoint": "ETL 元数据：采集来源（接口/文件路径），用于数据追溯",
    "fetched_at": "ETL 元数据：采集/入库时间戳，用于口径对齐与增量处理",
    "payload": "ETL 元数据：完整原始 JSON 记录快照，用于回溯与二次解析",
    "content_hash": "ETL 元数据：对业务字段计算 SHA256，用于变更检测与去重",
    "able_share_member_discount": "是否可共享会员折扣",
    "electricity_deduct_radio": "电费扣减比例",
    "electricity_discount": "电费折扣",
    "electricitycarddeduct": "电费卡扣",
    "member_grade": "会员等级",
    "principal_balance": "本金余额",
    "rechargefreezebalance": "充值冻结余额"
  },
  "dwd_fields": {
    "dim_member_card_account": {
      "member_card_id": "会员卡账户 ID",
      "tenant_id": "租户 ID",
      "register_site_id": "开卡门店 ID → dim_site",
      "tenant_member_id": "持卡会员 ID → dim_member（0=未绑定会员）",
      "system_member_id": "系统级会员 ID",
      "card_type_id": "卡种 ID",
      "member_card_grade_code": "卡等级代码",
      "member_card_grade_code_name": "卡等级名称。**枚举值**: \"储值卡\", \"台费卡\", \"活动抵用券\", \"酒水卡\", \"月卡\", \"年卡\"",
      "member_card_type_name": "卡类型名称（与 grade_code_name 相同）",
      "member_name": "持卡人姓名快照",
      "member_mobile": "持卡人手机号快照",
      "balance": "当前余额（元）",
      "start_time": "卡生效时间",
      "end_time": "卡失效时间（2225-01-01=长期有效）",
      "last_consume_time": "最近消费时间",
      "status": "卡状态。**枚举值**: 1=正常, 4=过期",
      "is_delete": "删除标记。**枚举值**: 0=未删除",
      "principal_balance": "本金余额",
      "member_grade": "会员等级",
      "scd2_start_time": "SCD2 版本生效时间",
      "scd2_end_time": "SCD2 版本失效时间",
      "scd2_is_current": "当前版本标记",
      "scd2_version": "版本号"
    },
    "dim_member_card_account_ex": {}
  }
}