Files
Neo-ZQYY/export/dataflow_analysis/bd_descriptions/payment_transactions.json

38 lines
2.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"ods_table": "payment_transactions",
"ods_fields": {
"id": "支付流水记录的主键 ID",
"site_id": "支付记录所属的门店 ID",
"siteprofile": "(待补充)",
"relate_type": "表示“这条支付记录关联的业务类型”",
"relate_id": "关联业务记录的主键 ID按 relate_type 不同指向不同表)",
"pay_amount": "本条支付流水的“支付金额”,单位为元",
"pay_status": "支付状态枚举字段",
"pay_time": "实际支付完成时间(支付状态变为成功的时间戳)",
"create_time": "支付记录创建时间,通常与发起支付请求的时间一致(创建支付流水的时间戳)",
"payment_method": "支付方式枚举,例如微信、支付宝、现金、银行卡、储值卡等某一种",
"online_pay_channel": "每一笔结账单settleList.id对应一条支付记录当前样本中是一条记录relate_id 唯一)",
"source_file": "ETL 元数据:原始导出文件名,用于数据追溯",
"source_endpoint": "ETL 元数据:采集来源(接口/文件路径),用于数据追溯",
"fetched_at": "ETL 元数据:采集/入库时间戳,用于口径对齐与增量处理",
"payload": "ETL 元数据:完整原始 JSON 记录快照,用于回溯与二次解析",
"content_hash": "ETL 元数据:对业务字段计算 SHA256用于变更检测与去重",
"tenant_id": "租户ID"
},
"dwd_fields": {
"dwd_payment": {
"payment_id": "支付流水 ID",
"site_id": "门店 ID",
"relate_type": "关联业务类型。**枚举值**: 1=预付, 2=结账, 5=充值, 6=线上商城",
"relate_id": "关联业务 ID",
"pay_amount": "支付金额(元)",
"pay_status": "支付状态。**枚举值**: 2=已支付",
"payment_method": "支付方式。**枚举值**: 2=现金支付 , 4=离线支付",
"online_pay_channel": "在线支付渠道(当前数据全为 0",
"create_time": "创建时间",
"pay_time": "支付时间",
"pay_date": "支付日期",
"tenant_id": "租户 ID"
}
}
}