{
  "ods_table": "settlement_records",
  "ods_fields": {
    "id": "结账记录主键 ID（订单结算 ID）",
    "tenantid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "siteid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "sitename": "名称字段，用于展示与辅助识别",
    "balanceamount": "金额字段，用于计费/结算/分摊等金额计算",
    "cardamount": "金额字段，用于计费/结算/分摊等金额计算",
    "cashamount": "金额字段，用于计费/结算/分摊等金额计算",
    "couponamount": "金额字段，用于计费/结算/分摊等金额计算",
    "createtime": "时间字段，用于记录业务时间点/发生时间",
    "memberid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "membername": "名称字段，用于展示与辅助识别",
    "tenantmembercardid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "membercardtypename": "名称字段，用于展示与辅助识别",
    "memberphone": "来自 JSON 导出的原始字段，用于保留业务取值",
    "tableid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "consumemoney": "金额字段，用于计费/结算/分摊等金额计算",
    "onlineamount": "金额字段，用于计费/结算/分摊等金额计算",
    "operatorid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "operatorname": "名称字段，用于展示与辅助识别",
    "revokeorderid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "revokeordername": "名称字段，用于展示与辅助识别",
    "revoketime": "时间字段，用于记录业务时间点/发生时间",
    "payamount": "金额字段，用于计费/结算/分摊等金额计算",
    "pointamount": "金额字段，用于计费/结算/分摊等金额计算",
    "refundamount": "金额字段，用于计费/结算/分摊等金额计算",
    "settlename": "名称字段，用于展示与辅助识别",
    "settlerelateid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "settlestatus": "来自 JSON 导出的原始字段，用于保留业务取值",
    "settletype": "来自 JSON 导出的原始字段，用于保留业务取值",
    "paytime": "时间字段，用于记录业务时间点/发生时间",
    "roundingamount": "金额字段，用于计费/结算/分摊等金额计算",
    "paymentmethod": "来自 JSON 导出的原始字段，用于保留业务取值",
    "adjustamount": "金额字段，用于计费/结算/分摊等金额计算",
    "assistantcxmoney": "金额字段，用于计费/结算/分摊等金额计算",
    "assistantpdmoney": "金额字段，用于计费/结算/分摊等金额计算",
    "couponsaleamount": "金额字段，用于计费/结算/分摊等金额计算",
    "memberdiscountamount": "金额字段，用于计费/结算/分摊等金额计算",
    "tablechargemoney": "金额字段，用于计费/结算/分摊等金额计算",
    "goodsmoney": "金额字段，用于计费/结算/分摊等金额计算",
    "realgoodsmoney": "金额字段，用于计费/结算/分摊等金额计算",
    "servicemoney": "金额字段，用于计费/结算/分摊等金额计算",
    "prepaymoney": "金额字段，用于计费/结算/分摊等金额计算",
    "salesmanname": "名称字段，用于展示与辅助识别",
    "orderremark": "来自 JSON 导出的原始字段，用于保留业务取值",
    "salesmanuserid": "来自 JSON 导出的原始字段，用于保留业务取值",
    "canberevoked": "来自 JSON 导出的原始字段，用于保留业务取值",
    "pointdiscountprice": "金额字段，用于计费/结算/分摊等金额计算",
    "pointdiscountcost": "金额字段，用于计费/结算/分摊等金额计算",
    "activitydiscount": "数量/时长字段，用于统计与计量",
    "serialnumber": "数量/时长字段，用于统计与计量",
    "assistantmanualdiscount": "数量/时长字段，用于统计与计量",
    "allcoupondiscount": "数量/时长字段，用于统计与计量",
    "goodspromotionmoney": "金额字段，用于计费/结算/分摊等金额计算",
    "assistantpromotionmoney": "金额字段，用于计费/结算/分摊等金额计算",
    "isusecoupon": "来自 JSON 导出的原始字段，用于保留业务取值",
    "isusediscount": "数量/时长字段，用于统计与计量",
    "isactivity": "来自 JSON 导出的原始字段，用于保留业务取值",
    "isbindmember": "来自 JSON 导出的原始字段，用于保留业务取值",
    "isfirst": "来自 JSON 导出的原始字段，用于保留业务取值",
    "rechargecardamount": "金额字段，用于计费/结算/分摊等金额计算",
    "giftcardamount": "金额字段，用于计费/结算/分摊等金额计算",
    "source_file": "ETL 元数据：原始导出文件名，用于数据追溯",
    "source_endpoint": "ETL 元数据：采集来源（接口/文件路径），用于数据追溯",
    "fetched_at": "ETL 元数据：采集/入库时间戳，用于口径对齐与增量处理",
    "payload": "ETL 元数据：完整原始 JSON 记录快照，用于回溯与二次解析",
    "content_hash": "ETL 元数据：对业务字段计算 SHA256，用于变更检测与去重",
    "electricityadjustmoney": "电费调整金额",
    "electricitymoney": "电费金额",
    "mervousalesamount": "商户券销售额",
    "plcouponsaleamount": "平台券销售额",
    "realelectricitymoney": "实际电费金额"
  },
  "dwd_fields": {
    "dwd_settlement_head": {
      "order_settle_id": "结账单 ID",
      "tenant_id": "租户 ID",
      "site_id": "门店 ID → dim_site",
      "site_name": "门店名称。**当前值**: \"朗朗桌球\"",
      "table_id": "台桌 ID → dim_table（0=非台桌订单，如商城订单）",
      "settle_name": "结账名称。**样本值**: \"商城订单\", \"A区 A3\", \"A区 A4\", \"斯诺克区 S1\"",
      "order_trade_no": "订单号",
      "create_time": "创建时间",
      "pay_time": "支付时间",
      "settle_type": "结账类型。**枚举值**: 1=台桌结账, 3=商城订单, 6=退货订单, 7=退款订单",
      "revoke_order_id": "撤销订单 ID（当前数据全为 0）",
      "member_id": "会员 ID → dim_member（0=散客，占比约 82.8%）",
      "member_name": "会员名称",
      "member_phone": "会员电话",
      "member_card_account_id": "会员卡账户 ID（当前数据全为 0）",
      "member_card_type_name": "卡类型名称（当前数据全为空）",
      "is_bind_member": "是否绑定会员。**枚举值**: False=否",
      "member_discount_amount": "会员折扣金额",
      "consume_money": "消费总金额（元）",
      "table_charge_money": "台费金额",
      "goods_money": "商品金额",
      "real_goods_money": "实收商品金额",
      "assistant_pd_money": "助教陪打费用",
      "assistant_cx_money": "助教超休费用",
      "adjust_amount": "调整金额",
      "pay_amount": "实付金额",
      "balance_amount": "余额支付金额",
      "recharge_card_amount": "储值卡支付金额",
      "gift_card_amount": "礼品卡支付金额",
      "coupon_amount": "券抵扣金额",
      "rounding_amount": "抹零金额",
      "point_amount": "积分抵扣等值金额",
      "electricity_money": "电费金额",
      "real_electricity_money": "实际电费金额",
      "electricity_adjust_money": "电费调整金额",
      "pl_coupon_sale_amount": "平台券销售额",
      "mervou_sales_amount": "商户券销售额"
    },
    "dwd_settlement_head_ex": {}
  }
}